fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
34 lines
707 B
Nix
34 lines
707 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
justbases,
|
|
unittestCheckHook,
|
|
hypothesis,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "justbytes";
|
|
version = "0.15.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mulkieran";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ justbases ];
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
hypothesis
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "computing with and displaying bytes";
|
|
homepage = "https://github.com/mulkieran/justbytes";
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|