depot/third_party/nixpkgs/pkgs/development/python-modules/justbytes/default.nix

27 lines
557 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, justbases
, hypothesis
}:
buildPythonPackage rec {
pname = "justbytes";
version = "0.15";
src = fetchPypi {
inherit pname version;
hash = "sha256-qrMO9X0v5yYjeWa72mogegR+ii8tCi+o7qZ+Aff2wZQ=";
};
propagatedBuildInputs = [ justbases ];
nativeCheckInputs = [ hypothesis ];
meta = with lib; {
description = "computing with and displaying bytes";
homepage = "https://pythonhosted.org/justbytes";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ nickcao ];
};
}