python3Packages.rjpl: init at 0.3.6

This commit is contained in:
Fabian Affolter 2022-04-25 22:53:22 +02:00
parent d123039b2e
commit 370c03a02e
2 changed files with 39 additions and 0 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

@ -8951,6 +8951,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 { };