Merge pull request #170321 from fabaff/rjpl

python3Packages.rjpl: init at 0.3.6
This commit is contained in:
Sandro 2022-04-26 01:51:15 +02:00 committed by GitHub
commit 1b3f453256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View 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 ];
};
}

View File

@ -2146,7 +2146,8 @@
praw
];
"rejseplanen" = ps: with ps; [
]; # missing inputs: rjpl
rjpl
];
"remember_the_milk" = ps: with ps; [
httplib2
]; # missing inputs: RtmAPI

View File

@ -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 { };