python3Packages.rjpl: init at 0.3.6
This commit is contained in:
parent
d123039b2e
commit
370c03a02e
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user