Merge pull request #170321 from fabaff/rjpl
python3Packages.rjpl: init at 0.3.6
This commit is contained in:
commit
1b3f453256
3 changed files with 41 additions and 1 deletions
37
pkgs/development/python-modules/rjpl/default.nix
Normal file
37
pkgs/development/python-modules/rjpl/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rjpl";
|
||||
version = "0.3.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-GLNIpZuM3yuCnPyjBa8KjdaL5cFK8InluuY+LTCrimc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rjpl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for interacting with the Rejseplanen API";
|
||||
homepage = "https://github.com/tomatpasser/python-rejseplanen";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2146,7 +2146,8 @@
|
|||
praw
|
||||
];
|
||||
"rejseplanen" = ps: with ps; [
|
||||
]; # missing inputs: rjpl
|
||||
rjpl
|
||||
];
|
||||
"remember_the_milk" = ps: with ps; [
|
||||
httplib2
|
||||
]; # missing inputs: RtmAPI
|
||||
|
|
|
@ -8957,6 +8957,8 @@ in {
|
|||
python3 = python;
|
||||
});
|
||||
|
||||
rjpl = callPackage ../development/python-modules/rjpl { };
|
||||
|
||||
rjsmin = callPackage ../development/python-modules/rjsmin { };
|
||||
|
||||
rki-covid-parser = callPackage ../development/python-modules/rki-covid-parser { };
|
||||
|
|
Loading…
Reference in a new issue