Skip to content

Instantly share code, notes, and snippets.

@sveitser
Created March 13, 2018 04:05
Show Gist options
  • Save sveitser/484151a179ab576369ae2737351fa242 to your computer and use it in GitHub Desktop.
Save sveitser/484151a179ab576369ae2737351fa242 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
let
python = import ./requirements.nix { inherit pkgs; };
in python.mkDerivation {
name = "Sprites-0.1.0";
src = ./.;
buildInputs = [
];
propagatedBuildInputs = [
pkgs.solc
python.packages."pytest"
python.packages."pytest-cov"
python.packages."pytest-watch"
python.packages."bitcoin"
python.packages."ethereum"
];
}
{ pkgs ? import <nixpkgs> {} }:
with import ./default.nix { };
with pkgs;
stdenv.mkDerivation {
name = "env";
buildInputs = [
python36Packages.ipython
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment