mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
30 lines
664 B
Nix
30 lines
664 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, justbases
|
|
, unittestCheckHook
|
|
, hypothesis
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "justbytes";
|
|
version = "0.15.2";
|
|
|
|
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 ];
|
|
};
|
|
}
|