3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #125571 from fabaff/nsapi

python3Packages.nsapi: init at 3.0.5
This commit is contained in:
Fabian Affolter 2021-06-13 11:00:15 +02:00 committed by GitHub
commit 2a006da3fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 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

@ -548,7 +548,7 @@
"namecheapdns" = ps: with ps; [ defusedxml ];
"nanoleaf" = ps: with ps; [ pynanoleaf ];
"neato" = ps: with ps; [ aiohttp-cors pybotvac ];
"nederlandse_spoorwegen" = ps: with ps; [ ]; # missing inputs: nsapi
"nederlandse_spoorwegen" = ps: with ps; [ nsapi ];
"nello" = ps: with ps; [ ]; # missing inputs: pynello
"ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient
"nest" = ps: with ps; [ aiohttp-cors ha-ffmpeg python-nest ]; # missing inputs: google-nest-sdm

View file

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