nixpkgs/pkgs/development/python-modules/hydra-check/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
820 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
2022-04-22 14:08:29 +00:00
, poetry-core
, requests
, beautifulsoup4
2022-04-22 14:08:29 +00:00
, colorama
}:
buildPythonPackage rec {
pname = "hydra-check";
2022-04-22 14:08:29 +00:00
version = "1.3.4";
format = "pyproject";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "nix-community";
2021-02-01 19:54:08 +00:00
repo = pname;
2022-04-22 14:08:29 +00:00
rev = "v${version}";
hash = "sha256-voSbpOPJUPjwzdMLVt2TC/FIi6LKk01PLd/GczOAUR8=";
};
2022-04-22 14:08:29 +00:00
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
2022-04-22 14:08:29 +00:00
colorama
requests
beautifulsoup4
];
2022-04-22 14:08:29 +00:00
pythonImportsCheck = [ "hydra_check" ];
2021-10-07 03:45:02 +00:00
meta = with lib; {
description = "check hydra for the build status of a package";
homepage = "https://github.com/nix-community/hydra-check";
license = licenses.mit;
2022-04-22 14:08:29 +00:00
maintainers = with maintainers; [ makefu artturin ];
};
}