pythonPackages.thrift: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:35:44 -04:00
parent 13352bb720
commit 80c9049524
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 20 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "thrift";
version = "0.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "dfbc3d3bd19d396718dab05abaf46d93ae8005e2df798ef02e32793cd963877e";
};
# No tests. Breaks when not disabling.
doCheck = false;
meta = with stdenv.lib; {
description = "Python bindings for the Apache Thrift RPC system";
homepage = http://thrift.apache.org/;
license = licenses.asl20;
maintainers = with maintainers; [ hbunke ];
};
}

View file

@ -4427,26 +4427,7 @@ in {
setproctitle = callPackage ../development/python-modules/setproctitle { };
thrift = buildPythonPackage rec {
name = "thrift-${version}";
version = "0.9.3";
src = pkgs.fetchurl {
url = "mirror://pypi/t/thrift/${name}.tar.gz";
sha256 = "dfbc3d3bd19d396718dab05abaf46d93ae8005e2df798ef02e32793cd963877e";
};
# No tests. Breaks when not disabling.
doCheck = false;
meta = {
description = "Python bindings for the Apache Thrift RPC system";
homepage = http://thrift.apache.org/;
license = licenses.asl20;
maintainers = with maintainers; [ hbunke ];
};
};
thrift = callPackage ../development/python-modules/thrift { };
geeknote = buildPythonPackage rec {
version = "2015-05-11";