1{ lib 2, buildPythonPackage 3, fetchPypi 4, justbases 5, hypothesis 6}: 7 8buildPythonPackage rec { 9 pname = "justbytes"; 10 version = "0.15"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-qrMO9X0v5yYjeWa72mogegR+ii8tCi+o7qZ+Aff2wZQ="; 15 }; 16 17 propagatedBuildInputs = [ justbases ]; 18 checkInputs = [ hypothesis ]; 19 20 meta = with lib; { 21 description = "computing with and displaying bytes"; 22 homepage = "https://pythonhosted.org/justbytes"; 23 license = licenses.lgpl2Plus; 24 maintainers = with maintainers; [ nickcao ]; 25 }; 26}