blob: 3a863a5de1e716343bc09a4b4546e20da6c9618b (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
hypothesis,
}:
buildPythonPackage rec {
pname = "justbases";
version = "0.15.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "mulkieran";
repo = "justbases";
tag = "v${version}";
hash = "sha256-XraUh3beI2JqKPRHYN5W3Tn3gg0GJCwhnhHIOFdzh6U=";
};
nativeCheckInputs = [
unittestCheckHook
hypothesis
];
meta = {
description = "Conversion of ints and rationals to any base";
homepage = "https://github.com/mulkieran/justbases";
changelog = "https://github.com/mulkieran/justbases/blob/v${version}/CHANGES.txt";
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ nickcao ];
};
}
|