Files
nixpkgs/pkgs/development/python-modules/justbytes/default.nix
2025-05-25 03:23:49 +02:00

35 lines
703 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
justbases,
unittestCheckHook,
hypothesis,
}:
buildPythonPackage rec {
pname = "justbytes";
version = "0.15.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "mulkieran";
repo = "justbytes";
tag = "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 ];
};
}