blob: 6926d96e3b395dd7c0ee00398ccc98c03724bb46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "coordinates";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "clbarnes";
repo = "coordinates";
tag = "v${version}";
hash = "sha256-S/AmH5FinTpHFFcrGAUSyjfqoIgq14QlHk9CnUkqCv4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "coordinates" ];
meta = {
description = "Convenience class for doing maths with explicit coordinates";
homepage = "https://github.com/clbarnes/coordinates";
changelog = "https://github.com/clbarnes/coordinates/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|