Files
Raito Bezarius 6a63a4ad8b pkgs/*: drop maintenanceship of various packages
I have effectively renounced on maintaining all these packages and I do
not plan to return them except if I'm forced to.

I am also fine with most of these packages being dropped for next
releases if no maintainer shows up.

Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2026-06-24 20:34:45 +02:00

57 lines
1.3 KiB
Nix

{
lib,
git,
python3,
fetchFromGitHub,
testers,
git-pw,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "git-pw";
version = "2.7.1";
pyproject = true;
env.PBR_VERSION = finalAttrs.version;
src = fetchFromGitHub {
owner = "getpatchwork";
repo = "git-pw";
tag = finalAttrs.version;
hash = "sha256-Ce+Nc2NZ42dIpeLg8OutD8ONxj1XRiNodGbTWlkK9qw=";
};
nativeBuildInputs = with python3.pkgs; [
pbr
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
pyyaml
arrow
click
requests
tabulate
];
nativeCheckInputs = with python3.pkgs; [
pytest-cov-stub
pytestCheckHook
git
];
# This is needed because `git-pw` always rely on an ambient git.
# Furthermore, this doesn't really make sense to resholve git inside this derivation.
# As `testVersion` does not offer the right knob, we can just `overrideAttrs`-it ourselves.
passthru.tests.version = (testers.testVersion { package = git-pw; }).overrideAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ [ git ];
});
meta = {
description = "Tool for integrating Git with Patchwork, the web-based patch tracking system";
homepage = "https://github.com/getpatchwork/git-pw";
license = lib.licenses.mit;
maintainers = [ ];
};
})