Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created June 28, 2017 21:04
Show Gist options
  • Select an option

  • Save infinisil/4294f4cf9fac7218ba1d33700a7be8e2 to your computer and use it in GitHub Desktop.

Select an option

Save infinisil/4294f4cf9fac7218ba1d33700a7be8e2 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
let
toolz = pkgs.python35Packages.buildPythonPackage rec {
name = "toolz-${version}";
version = "0.8.0";
src = pkgs.fetchurl {
url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz";
sha256 = "e8451af61face57b7c5d09e71c0d27b8005f001ead56e9fdf470417e5cc6d479";
};
doCheck = false;
meta = {
homepage = "http://github.com/pytoolz/toolz/";
description = "List processing tools and functional utilities";
};
};
in
stdenv.mkDerivation rec {
name = "env";
buildInputs = [
hello
(pkgs.python35.withPackages (ps: [ps.numpy toolz]))
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment