about summary refs log tree commit diff
path: root/pkgs/development/python-modules/justbytes/default.nix
blob: 834ced10ab4b94a76c737055cbdf2634fe668977 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ 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 ];
  };
}