9 python3.pkgs.buildPythonApplication rec {
14 PBR_VERSION = version;
16 src = fetchFromGitHub {
17 owner = "getpatchwork";
20 hash = "sha256-3IiFU6qGI2MDTBOLQ2qyT5keUMNTNG3sxhtGR3bkIBc=";
23 nativeBuildInputs = with python3.pkgs; [
28 propagatedBuildInputs = with python3.pkgs; [
36 nativeCheckInputs = with python3.pkgs; [
42 # This is needed because `git-pw` always rely on an ambiant git.
43 # Furthermore, this doesn't really make sense to resholve git inside this derivation.
44 # As `testVersion` does not offer the right knob, we can just `overrideAttrs`-it ourselves.
45 passthru.tests.version = (testers.testVersion { package = git-pw; }).overrideAttrs (old: {
46 buildInputs = (old.buildInputs or [ ]) ++ [ git ];
50 description = "Tool for integrating Git with Patchwork, the web-based patch tracking system";
51 homepage = "https://github.com/getpatchwork/git-pw";
52 license = licenses.mit;
53 maintainers = with maintainers; [ raitobezarius ];