depot/third_party/nixpkgs/pkgs/development/python-modules/pydelijn/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

37 lines
723 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "pydelijn";
version = "0.6.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1lwd2f043hy7gf1ly9zpaq1yg947bqw2af8vhwssf48zpisfgc81";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pytz
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydelijn" ];
meta = with lib; {
description = "Python package to retrieve realtime data of passages at stops of De Lijn";
homepage = "https://github.com/bollewolle/pydelijn";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}