mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
33 lines
742 B
Nix
33 lines
742 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 ];
|
|
};
|
|
}
|