Loading pkgs/applications/version-management/git-review/default.nix +23 −6 Original line number Diff line number Diff line { lib, fetchurl, buildPythonApplication, pbr, requests, setuptools }: { lib , fetchurl , buildPythonApplication , pbr , requests , setuptools }: buildPythonApplication rec { pname = "git-review"; version = "2.0.0"; version = "2.1.0"; # Manually set version because prb wants to get it from the git # upstream repository (and we are installing from tarball instead) Loading @@ -10,17 +16,28 @@ buildPythonApplication rec { src = fetchurl { url = "https://opendev.org/opendev/${pname}/archive/${version}.tar.gz"; sha256 = "0dkyd5g2xmvsa114is3cd9qmki3hi6c06wjnra0f4xq3aqm0ajnj"; hash = "sha256-3A1T+/iXhNeMS2Aww5jISoiNExdv9N9/kwyATSuwVTE="; }; propagatedBuildInputs = [ pbr requests setuptools ]; nativeBuildInputs = [ pbr ]; # Don't do tests because they require gerrit which is not packaged propagatedBuildInputs = [ requests setuptools # implicit dependency, used to get package version through pkg_resources ]; # Don't run tests because they pull in external dependencies # (a specific build of gerrit + maven plugins), and I haven't figured # out how to work around this yet. doCheck = false; pythonImportsCheck = [ "git_review" ]; meta = with lib; { homepage = "https://opendev.org/opendev/git-review"; description = "Tool to submit code to Gerrit"; homepage = "https://opendev.org/opendev/git-review"; license = licenses.asl20; maintainers = with maintainers; [ metadark ]; }; Loading Loading
pkgs/applications/version-management/git-review/default.nix +23 −6 Original line number Diff line number Diff line { lib, fetchurl, buildPythonApplication, pbr, requests, setuptools }: { lib , fetchurl , buildPythonApplication , pbr , requests , setuptools }: buildPythonApplication rec { pname = "git-review"; version = "2.0.0"; version = "2.1.0"; # Manually set version because prb wants to get it from the git # upstream repository (and we are installing from tarball instead) Loading @@ -10,17 +16,28 @@ buildPythonApplication rec { src = fetchurl { url = "https://opendev.org/opendev/${pname}/archive/${version}.tar.gz"; sha256 = "0dkyd5g2xmvsa114is3cd9qmki3hi6c06wjnra0f4xq3aqm0ajnj"; hash = "sha256-3A1T+/iXhNeMS2Aww5jISoiNExdv9N9/kwyATSuwVTE="; }; propagatedBuildInputs = [ pbr requests setuptools ]; nativeBuildInputs = [ pbr ]; # Don't do tests because they require gerrit which is not packaged propagatedBuildInputs = [ requests setuptools # implicit dependency, used to get package version through pkg_resources ]; # Don't run tests because they pull in external dependencies # (a specific build of gerrit + maven plugins), and I haven't figured # out how to work around this yet. doCheck = false; pythonImportsCheck = [ "git_review" ]; meta = with lib; { homepage = "https://opendev.org/opendev/git-review"; description = "Tool to submit code to Gerrit"; homepage = "https://opendev.org/opendev/git-review"; license = licenses.asl20; maintainers = with maintainers; [ metadark ]; }; Loading