pythonPackages.thrift: refactor move to python-modules
This commit is contained in:
parent
13352bb720
commit
80c9049524
2 changed files with 26 additions and 20 deletions
25
pkgs/development/python-modules/thrift/default.nix
Normal file
25
pkgs/development/python-modules/thrift/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue