blob: 68032d721d2a161dbff58f7b4bce4c2e11a2c9f5 (
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,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "juliandate";
version = "1.0.5";
pyproject = true;
src = fetchFromGitHub {
owner = "seanredmond";
repo = "juliandate";
tag = "v${version}";
hash = "sha256-pOWyrPBFqKmG9oKbXY/L14LblIcc8KfZSqZAEQP29V8=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "juliandate" ];
meta = {
description = "Conversions between Julian Dates and Julian/Gregorian calendar dates";
homepage = "https://github.com/seanredmond/juliandate";
changelog = "https://github.com/seanredmond/juliandate/blob/v${src.tag}/HISTORY.MD";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|