pythonPackages.functools32: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 16:01:07 -04:00
committed by Frederik Rietdijk
parent a3f18ca87f
commit 56739bc25f
2 changed files with 23 additions and 15 deletions

View File

@@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
if isPy3k then null else buildPythonPackage rec {
pname = "functools32";
version = "3.2.3-2";
src = fetchPypi {
inherit pname version;
sha256 = "0v8ya0b58x47wp216n1zamimv4iw57cxz3xxhzix52jkw3xks9gn";
};
meta = with stdenv.lib; {
description = "This is a backport of the functools standard library module from";
homepage = "https://github.com/MiCHiLU/python-functools32";
license = licenses.psfl;
};
}