Loading pkgs/development/python-modules/justbytes/default.nix +10 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , fetchFromGitHub , justbases , unittestCheckHook , hypothesis }: buildPythonPackage rec { pname = "justbytes"; version = "0.15"; version = "0.15.2"; src = fetchPypi { inherit pname version; hash = "sha256-qrMO9X0v5yYjeWa72mogegR+ii8tCi+o7qZ+Aff2wZQ="; src = fetchFromGitHub { owner = "mulkieran"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74="; }; propagatedBuildInputs = [ justbases ]; nativeCheckInputs = [ hypothesis ]; nativeCheckInputs = [ unittestCheckHook hypothesis ]; meta = with lib; { description = "computing with and displaying bytes"; homepage = "https://pythonhosted.org/justbytes"; homepage = "https://github.com/mulkieran/justbytes"; license = licenses.lgpl2Plus; maintainers = with maintainers; [ nickcao ]; }; Loading Loading
pkgs/development/python-modules/justbytes/default.nix +10 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , fetchFromGitHub , justbases , unittestCheckHook , hypothesis }: buildPythonPackage rec { pname = "justbytes"; version = "0.15"; version = "0.15.2"; src = fetchPypi { inherit pname version; hash = "sha256-qrMO9X0v5yYjeWa72mogegR+ii8tCi+o7qZ+Aff2wZQ="; src = fetchFromGitHub { owner = "mulkieran"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74="; }; propagatedBuildInputs = [ justbases ]; nativeCheckInputs = [ hypothesis ]; nativeCheckInputs = [ unittestCheckHook hypothesis ]; meta = with lib; { description = "computing with and displaying bytes"; homepage = "https://pythonhosted.org/justbytes"; homepage = "https://github.com/mulkieran/justbytes"; license = licenses.lgpl2Plus; maintainers = with maintainers; [ nickcao ]; }; Loading