Files
nixpkgs/pkgs/development/python-modules/bizkaibus/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
769 B
Nix

{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "bizkaibus";
version = "0.1.4";
format = "setuptools";
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 ];
};
}