pythonPackages.pocket: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
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 ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user