mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #113005 from fabaff/pytrafikverket
This commit is contained in:
commit
7235262870
34
pkgs/development/python-modules/pytrafikverket/default.nix
Normal file
34
pkgs/development/python-modules/pytrafikverket/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user