Merge pull request #113005 from fabaff/pytrafikverket

This commit is contained in:
Sandro 2021-02-14 01:18:48 +01:00 committed by GitHub
commit 7235262870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 2 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, lxml
}:
buildPythonPackage rec {
pname = "pytrafikverket";
version = "0.1.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "0hrjsw53ixgmhsiszdrzzh0wma705nrhq8npzacsyaf43r29zvqy";
};
propagatedBuildInputs = [
aiohttp
async-timeout
lxml
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pytrafikverket" ];
meta = with lib; {
description = "Python library to manage Etekcity Devices and Levoit Air Purifier";
homepage = "https://github.com/endor-force/pytrafikverket";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -858,8 +858,8 @@
"traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar
"trackr" = ps: with ps; [ ]; # missing inputs: pytrackr
"tradfri" = ps: with ps; [ ]; # missing inputs: pytradfri[async]
"trafikverket_train" = ps: with ps; [ ]; # missing inputs: pytrafikverket
"trafikverket_weatherstation" = ps: with ps; [ ]; # missing inputs: pytrafikverket
"trafikverket_train" = ps: with ps; [ pytrafikverket ];
"trafikverket_weatherstation" = ps: with ps; [ pytrafikverket ];
"transmission" = ps: with ps; [ transmissionrpc ];
"transport_nsw" = ps: with ps; [ ]; # missing inputs: PyTransportNSW
"travisci" = ps: with ps; [ ]; # missing inputs: TravisPy

View file

@ -6497,6 +6497,8 @@ in {
pytorchWithoutCuda = self.pytorch.override { cudaSupport = false; };
pytrafikverket = callPackage ../development/python-modules/pytrafikverket { };
pytrends = callPackage ../development/python-modules/pytrends { };
pytricia = callPackage ../development/python-modules/pytricia { };