Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ochre / default.nix
blobe3604446e7e20d3f109d6ace814241f2976e041f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , hypothesis
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "ochre";
11   version = "0.4.0";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "getcuia";
16     repo = "ochre";
17     rev = "v${version}";
18     hash = "sha256-U6qycLnldwNze3XMAn6DS3XGX4RaCZgW0pH/y/FEAkk=";
19   };
21   nativeBuildInputs = [
22     poetry-core
23   ];
25   nativeCheckInputs = [
26     hypothesis
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [ "ochre" ];
32   meta = with lib; {
33     description = "A down-to-earth approach to colors";
34     homepage = "https://github.com/getcuia/ochre";
35     changelog = "https://github.com/getcuia/ochre/releases/tag/${src.rev}";
36     license = licenses.mit;
37     maintainers = with maintainers; [ figsoda ];
38   };