pythonPackages.pocket: refactor move to python-modules
This commit is contained in:
parent
4bb98c4c1a
commit
36d0404ed6
25
pkgs/development/python-modules/pocket/default.nix
Normal file
25
pkgs/development/python-modules/pocket/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pocket";
|
||||||
|
version = "0.3.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1fc9vc5nyzf1kzmnrs18dmns7nn8wjfrg7br1w4c5sgs35mg2ywh";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ requests ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Wrapper for the pocket API";
|
||||||
|
homepage = "https://github.com/tapanpandita/pocket";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ericsagnes ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2791,26 +2791,7 @@ in {
|
|||||||
|
|
||||||
pendulum = callPackage ../development/python-modules/pendulum { };
|
pendulum = callPackage ../development/python-modules/pendulum { };
|
||||||
|
|
||||||
pocket = buildPythonPackage rec {
|
pocket = callPackage ../development/python-modules/pocket { };
|
||||||
name = "pocket-${version}";
|
|
||||||
version = "0.3.6";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pocket/${name}.tar.gz";
|
|
||||||
sha256 = "1fc9vc5nyzf1kzmnrs18dmns7nn8wjfrg7br1w4c5sgs35mg2ywh";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [
|
|
||||||
requests
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Wrapper for the pocket API";
|
|
||||||
homepage = "https://github.com/tapanpandita/pocket";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
maintainers = with maintainers; [ ericsagnes ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mistune = callPackage ../development/python-modules/mistune { };
|
mistune = callPackage ../development/python-modules/mistune { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user