depot/third_party/nixpkgs/pkgs/development/python-modules/bizkaibus/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

35 lines
744 B
Nix

{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "bizkaibus";
version = "0.1.4";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "UgaitzEtxebarria";
repo = "BizkaibusRTPI";
rev = version;
sha256 = "1v7k9fclndb4x9npzhzj68kbrc3lb3wr6cwal2x46ib207593ckr";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "bizkaibus" ];
meta = with lib; {
description = "Python module to get information about Bizkaibus buses";
homepage = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}