From 33610bfeca7469cf4cb698ec8208849357de8e7e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 12 Jan 2022 02:54:18 +0100 Subject: [PATCH] gitinspector: drop Claims to support python3, but I'm seeing it use implicit relative imports and it also has not adapted to python3.8 gettext API changes. Removed for working only with python2. --- .../gitinspector/default.nix | 26 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 pkgs/applications/version-management/gitinspector/default.nix diff --git a/pkgs/applications/version-management/gitinspector/default.nix b/pkgs/applications/version-management/gitinspector/default.nix deleted file mode 100644 index 63ceb6e3868f..000000000000 --- a/pkgs/applications/version-management/gitinspector/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, fetchFromGitHub, python2Packages }: - -python2Packages.buildPythonApplication rec { - pname = "gitinspector"; - version = "0.4.4"; - namePrefix = ""; - - src = fetchFromGitHub { - owner = "ejwa"; - repo = "gitinspector"; - rev = "v${version}"; - sha256 = "sha256-9bChvE5aAZFunu599pH7QKHZFd7aQzv0i9LURrvh2t0="; - }; - - checkInputs = with python2Packages; [ - unittest2 - ]; - - meta = with lib; { - homepage = "https://github.com/ejwa/gitinspector"; - description = "Statistical analysis tool for git repositories"; - license = licenses.gpl3; - platforms = platforms.all; - maintainers = [ maintainers.bjornfor ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index acab25e64b48..cf121f680fb7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -321,6 +321,7 @@ mapAliases ({ topGit = top-git; }; gitin = throw "gitin has been remove because it was unmaintained and depended on an insecure version of libgit2"; # added 2021-12-07 + gitinspector = throw "gitinspector has been removed because it doesn't work with python3."; # added 2022-01-12 glib_networking = glib-networking; # added 2018-02-25 gmailieer = lieer; # added 2020-04-19 gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # added 2021-03-08 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8fd116aeeabd..52d6d8a297a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5815,8 +5815,6 @@ with pkgs; github-runner = callPackage ../development/tools/continuous-integration/github-runner { }; - gitinspector = callPackage ../applications/version-management/gitinspector { }; - gitkraken = callPackage ../applications/version-management/gitkraken { }; gitlab = callPackage ../applications/version-management/gitlab { };