python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / ochre / default.nix
blob023fb09d1ef441c2172e9beb711cc9d2dba157c7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   hypothesis,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "ochre";
12   version = "0.4.0";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "getcuia";
17     repo = "ochre";
18     rev = "v${version}";
19     hash = "sha256-U6qycLnldwNze3XMAn6DS3XGX4RaCZgW0pH/y/FEAkk=";
20   };
22   nativeBuildInputs = [ poetry-core ];
24   nativeCheckInputs = [
25     hypothesis
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "ochre" ];
31   meta = with lib; {
32     description = "Down-to-earth approach to colors";
33     homepage = "https://github.com/getcuia/ochre";
34     changelog = "https://github.com/getcuia/ochre/releases/tag/${src.rev}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ figsoda ];
37   };