10 buildPythonPackage rec {
11 pname = "coordinates";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
21 hash = "sha256-S/AmH5FinTpHFFcrGAUSyjfqoIgq14QlHk9CnUkqCv4=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "coordinates" ];
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;