Merge pull request #120485 from MetaDark/git-review

git-review: 2.0.0 -> 2.1.0

authored by Fabian Affolter and committed by GitHub 632292a4 6e9671b6

+23 -6
+23 -6
pkgs/applications/version-management/git-review/default.nix
··· 1 - { lib, fetchurl, buildPythonApplication, pbr, requests, setuptools }: 2 3 buildPythonApplication rec { 4 pname = "git-review"; 5 - version = "2.0.0"; 6 7 # Manually set version because prb wants to get it from the git 8 # upstream repository (and we are installing from tarball instead) ··· 10 11 src = fetchurl { 12 url = "https://opendev.org/opendev/${pname}/archive/${version}.tar.gz"; 13 - sha256 = "0dkyd5g2xmvsa114is3cd9qmki3hi6c06wjnra0f4xq3aqm0ajnj"; 14 }; 15 16 - propagatedBuildInputs = [ pbr requests setuptools ]; 17 18 - # Don't do tests because they require gerrit which is not packaged 19 doCheck = false; 20 21 meta = with lib; { 22 homepage = "https://opendev.org/opendev/git-review"; 23 - description = "Tool to submit code to Gerrit"; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ metadark ]; 26 };
··· 1 + { lib 2 + , fetchurl 3 + , buildPythonApplication 4 + , pbr 5 + , requests 6 + , setuptools 7 + }: 8 9 buildPythonApplication rec { 10 pname = "git-review"; 11 + version = "2.1.0"; 12 13 # Manually set version because prb wants to get it from the git 14 # upstream repository (and we are installing from tarball instead) ··· 16 17 src = fetchurl { 18 url = "https://opendev.org/opendev/${pname}/archive/${version}.tar.gz"; 19 + hash = "sha256-3A1T+/iXhNeMS2Aww5jISoiNExdv9N9/kwyATSuwVTE="; 20 }; 21 22 + nativeBuildInputs = [ 23 + pbr 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + requests 28 + setuptools # implicit dependency, used to get package version through pkg_resources 29 + ]; 30 31 + # Don't run tests because they pull in external dependencies 32 + # (a specific build of gerrit + maven plugins), and I haven't figured 33 + # out how to work around this yet. 34 doCheck = false; 35 36 + pythonImportsCheck = [ "git_review" ]; 37 + 38 meta = with lib; { 39 + description = "Tool to submit code to Gerrit"; 40 homepage = "https://opendev.org/opendev/git-review"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ metadark ]; 43 };