pythonPackages.tblib: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:47:57 +02:00 committed by Frederik Rietdijk
parent 1b659167f3
commit 9bff9d10ff
2 changed files with 19 additions and 16 deletions

View file

@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "tblib";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "02iahfkfa927hb4jq2bak36ldihwapzacfiq5lyxg8llwn98a1yi";
};
meta = with stdenv.lib; {
description = "Traceback fiddling library. Allows you to pickle tracebacks.";
homepage = https://github.com/ionelmc/python-tblib;
license = licenses.bsd2;
maintainers = with maintainers; [ teh ];
};
}

View file

@ -2051,22 +2051,7 @@ in {
locket = callPackage ../development/python-modules/locket { };
tblib = buildPythonPackage rec {
name = "tblib-${version}";
version = "1.3.0";
src = pkgs.fetchurl {
url = "mirror://pypi/t/tblib/${name}.tar.gz";
sha256 = "02iahfkfa927hb4jq2bak36ldihwapzacfiq5lyxg8llwn98a1yi";
};
meta = {
description = "Traceback fiddling library. Allows you to pickle tracebacks.";
homepage = "https://github.com/ionelmc/python-tblib";
license = licenses.bsd2;
maintainers = with maintainers; [ teh ];
};
};
tblib = callPackage ../development/python-modules/tblib { };
s3fs = buildPythonPackage rec {
name = "s3fs-${version}";