python3Packages.enturclient: init at 0.2.1

This commit is contained in:
Fabian Affolter 2021-06-20 11:13:27 +02:00
parent 9770439689
commit 19d39f5037
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "enturclient";
version = "0.2.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "hfurubotten";
repo = pname;
rev = "v${version}";
sha256 = "158xzv9c2drjgrdhfqm0xzx2d34v45gr5rnjfsi94scffvprgwrg";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "enturclient" ];
meta = with lib; {
description = "Python library for interacting with the Entur.org API";
homepage = "https://github.com/hfurubotten/enturclient";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2287,6 +2287,8 @@ in {
entrypoints = callPackage ../development/python-modules/entrypoints { };
enturclient = callPackage ../development/python-modules/enturclient { };
enum34 = callPackage ../development/python-modules/enum34 { };
enum-compat = callPackage ../development/python-modules/enum-compat { };