fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
749 B
Nix
33 lines
749 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
unittestCheckHook,
|
|
hypothesis,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "justbases";
|
|
version = "0.15.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mulkieran";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-XraUh3beI2JqKPRHYN5W3Tn3gg0GJCwhnhHIOFdzh6U=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
hypothesis
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|