1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

pythonPackages.paypalrestsdk: move expression

This commit is contained in:
Robert Schütz 2018-03-17 17:03:10 +01:00
parent 104f58d6a1
commit ba5d1bb28b
2 changed files with 20 additions and 16 deletions

View file

@ -0,0 +1,19 @@
{ buildPythonPackage, fetchPypi, httplib2 }:
buildPythonPackage rec {
pname = "paypalrestsdk";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "117kfipzfahf9ysv414bh1mmm5cc9ck5zb6rhpslx1f8gk3frvd6";
};
propagatedBuildInputs = [ httplib2 ];
meta = {
homepage = https://developer.paypal.com/;
description = "Python APIs to create, process and manage payment";
license = "PayPal SDK License";
};
}

View file

@ -11878,22 +11878,7 @@ in {
pathpy = callPackage ../development/python-modules/path.py { };
paypalrestsdk = buildPythonPackage rec {
name = "paypalrestsdk-0.7.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/paypalrestsdk/${name}.tar.gz";
sha256 = "117kfipzfahf9ysv414bh1mmm5cc9ck5zb6rhpslx1f8gk3frvd6";
};
propagatedBuildInputs = with self; [ httplib2 ];
meta = {
homepage = https://developer.paypal.com/;
description = "Python APIs to create, process and manage payment";
license = "PayPal SDK License";
};
};
paypalrestsdk = callPackage ../development/python-modules/paypalrestsdk { };
pbr = callPackage ../development/python-modules/pbr { };