1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 justbases,
6 unittestCheckHook,
7 hypothesis,
8}:
9
10buildPythonPackage rec {
11 pname = "justbytes";
12 version = "0.15.2";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "mulkieran";
17 repo = "justbytes";
18 tag = "v${version}";
19 hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74=";
20 };
21
22 propagatedBuildInputs = [ justbases ];
23 nativeCheckInputs = [
24 unittestCheckHook
25 hypothesis
26 ];
27
28 meta = with lib; {
29 description = "Computing with and displaying bytes";
30 homepage = "https://github.com/mulkieran/justbytes";
31 license = licenses.lgpl2Plus;
32 maintainers = with maintainers; [ nickcao ];
33 };
34}