nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 868 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 aiohttp, 6 aiozoneinfo, 7 lxml, 8 poetry-core, 9}: 10 11buildPythonPackage rec { 12 pname = "pytrafikverket"; 13 version = "1.1.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-yfo36fAVC2LaresQ1QcXq2EGhGtkVzNbWvD6lynhusQ="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 dependencies = [ 24 aiohttp 25 aiozoneinfo 26 lxml 27 ]; 28 29 # Project has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "pytrafikverket" ]; 33 34 meta = { 35 description = "Library to get data from the Swedish Transport Administration (Trafikverket) API"; 36 homepage = "https://github.com/gjohansson-ST/pytrafikverket"; 37 changelog = "https://github.com/gjohansson-ST/pytrafikverket/releases/tag/v${version}"; 38 license = with lib.licenses; [ mit ]; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}