python3Packages.nsapi: init at 3.0.5

This commit is contained in:
Fabian Affolter 2021-06-03 23:35:41 +02:00
parent b94e1977e0
commit 7c85cd4e4b
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "nsapi";
version = "3.0.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aquatix";
repo = "ns-api";
rev = "v${version}";
sha256 = "0i1zkvi4mrhkh1gxzpa54mq8mb76s9nf3jxxhpqia56nkq8f8krb";
};
propagatedBuildInputs = [
future
pytz
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ns_api" ];
meta = with lib; {
description = "Python module to query routes of the Dutch railways";
homepage = "https://github.com/aquatix/ns-api/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4718,6 +4718,8 @@ in {
npyscreen = callPackage ../development/python-modules/npyscreen { }; npyscreen = callPackage ../development/python-modules/npyscreen { };
nsapi = callPackage ../development/python-modules/nsapi { };
ntc-templates = callPackage ../development/python-modules/ntc-templates { }; ntc-templates = callPackage ../development/python-modules/ntc-templates { };
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { }; ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };