Merge pull request #232351 from NickCao/justbytes
python3Packages.justbytes: 0.15 -> 0.15.2
This commit is contained in:
commit
3fb2ad25c3
|
@ -1,25 +1,28 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, justbases
|
, justbases
|
||||||
|
, unittestCheckHook
|
||||||
, hypothesis
|
, hypothesis
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "justbytes";
|
pname = "justbytes";
|
||||||
version = "0.15";
|
version = "0.15.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "mulkieran";
|
||||||
hash = "sha256-qrMO9X0v5yYjeWa72mogegR+ii8tCi+o7qZ+Aff2wZQ=";
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ justbases ];
|
propagatedBuildInputs = [ justbases ];
|
||||||
nativeCheckInputs = [ hypothesis ];
|
nativeCheckInputs = [ unittestCheckHook hypothesis ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "computing with and displaying bytes";
|
description = "computing with and displaying bytes";
|
||||||
homepage = "https://pythonhosted.org/justbytes";
|
homepage = "https://github.com/mulkieran/justbytes";
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = with maintainers; [ nickcao ];
|
maintainers = with maintainers; [ nickcao ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue