pythonPackages.funcy: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:34:56 -04:00
parent a576b19efb
commit 00eb722bf7
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 18 deletions

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "funcy";
version = "1.6";
src = fetchPypi {
inherit pname version;
sha256 = "511495db0c5660af18d3151b008c6ce698ae7fbf60887278e79675e35eed1f01";
};
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Collection of fancy functional tools focused on practicality";
homepage = "http://funcy.readthedocs.org/";
license = licenses.bsd3;
};
}

@ -4357,24 +4357,7 @@ in {
uncertainties = callPackage ../development/python-modules/uncertainties { };
funcy = buildPythonPackage rec {
name = "funcy-1.6";
src = pkgs.fetchurl {
url = "mirror://pypi/f/funcy/${name}.tar.gz";
sha256 = "511495db0c5660af18d3151b008c6ce698ae7fbf60887278e79675e35eed1f01";
};
# No tests
doCheck = false;
meta = {
description = "Collection of fancy functional tools focused on practicality";
homepage = "http://funcy.readthedocs.org/";
license = licenses.bsd3;
};
};
funcy = callPackage ../development/python-modules/funcy { };
vxi11 = callPackage ../development/python-modules/vxi11 { };