git-bz: remove

Stuck on python2 and unmaintained since 2015.
This commit is contained in:
Martin Weinelt 2022-01-02 03:54:39 +01:00
parent 5a08535f4b
commit 12fb90696e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 1 additions and 57 deletions

View File

@ -1,54 +0,0 @@
{ lib, stdenv, fetchgit
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
, python2Packages }:
stdenv.mkDerivation {
pname = "git-bz";
version = "3.2015-09-08";
src = fetchgit {
sha256 = "146z57m8nblgsxm4z6qnsvcy81p11d0w88v93ybacc6w21plh8hc";
rev = "e17bbae7a2ce454d9f69c32fc40066995d44913d";
url = "git://git.fishsoup.net/git-bz";
};
nativeBuildInputs = [
asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
];
buildInputs = []
++ (with python2Packages; [ python pysqlite ]);
postPatch = ''
patchShebangs configure
# Don't create a .html copy of the man page that isn't installed anyway:
substituteInPlace Makefile --replace "git-bz.html" ""
'';
postInstall = ''
wrapProgram $out/bin/git-bz \
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pycrypto}")" \
--prefix PYTHONPATH : "$(toPythonPath "${python2Packages.pysqlite}")"
'';
meta = with lib; {
description = "Bugzilla integration for git";
longDescription = ''
git-bz is a tool for integrating the Git command line with the
Bugzilla bug-tracking system. Operations such as attaching patches to
bugs, applying patches in bugs to your current tree, and closing bugs
once you've pushed the fixes publicly can be done completely from
the command line without having to go to your web browser.
Authentication for git-bz is done by reading the cookies for the
Bugzilla host from your web browser. In order to do this, git-bz needs
to know how to access the cookies for your web browser; git-bz
currently is able to do this for Firefox, Epiphany, Galeon and
Chromium on Linux.
'';
license = licenses.gpl2Plus;
homepage = "http://git.fishsoup.net/cgit/git-bz/";
platforms = platforms.linux;
};
}

View File

@ -291,6 +291,7 @@ mapAliases ({
gdk_pixbuf = gdk-pixbuf; # added 2019-05-22
gettextWithExpat = gettext; # 2016-02-19
giflib_4_1 = throw "giflib_4_1 has been removed; use giflib instead"; # 2020-02-12
git-bz = throw "giz-bz has been removed from nixpkgs as it is stuck on python2."; # added 2022-01-01
gitAndTools = self // { # added 2021-01-14
darcsToGit = darcs-to-git;
gitAnnex = git-annex;

View File

@ -5699,9 +5699,6 @@ with pkgs;
git-bug = callPackage ../applications/version-management/git-and-tools/git-bug { };
# support for bugzilla
git-bz = callPackage ../applications/version-management/git-and-tools/git-bz { };
git-chglog = callPackage ../applications/version-management/git-and-tools/git-chglog { };
git-cinnabar = callPackage ../applications/version-management/git-and-tools/git-cinnabar { };