504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
689 B
Nix
30 lines
689 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 ];
|
|
};
|
|
}
|