python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / coordinates / default.nix
blob4d4053f2bc5348485f0c10861c0c675d2cd88800
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "coordinates";
12   version = "0.4.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "clbarnes";
19     repo = "coordinates";
20     tag = "v${version}";
21     hash = "sha256-S/AmH5FinTpHFFcrGAUSyjfqoIgq14QlHk9CnUkqCv4=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "coordinates" ];
30   meta = with lib; {
31     description = "Convenience class for doing maths with explicit coordinates";
32     homepage = "https://github.com/clbarnes/coordinates";
33     changelog = "https://github.com/clbarnes/coordinates/releases/tag/v${version}";
34     license = licenses.mit;
35     maintainers = [ ];
36   };