ddar: remove

Motivated by #148779 and an unmaintained upstream.
main
Armeen Mahdian 2 years ago
parent 27a8d53c69
commit 3d45681f62
  1. 40
      pkgs/tools/backup/ddar/default.nix
  2. 1
      pkgs/top-level/aliases.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -1,40 +0,0 @@
{ lib, python2, fetchFromGitHub, roundup, ncurses }:
python2.pkgs.buildPythonApplication rec {
pname = "ddar";
version = "1.0";
src = fetchFromGitHub {
owner = "basak";
repo = pname;
rev = "v${version}";
sha256 = "158jdy5261k9yw540g48hddy5zyqrr81ir9fjlcy4jnrwfkg7ynm";
};
prePatch = ''
substituteInPlace t/local-functions \
--replace 'PATH="$ddar_src:$PATH"' 'PATH="$out/bin:$PATH"'
# Test requires additional software and compilation of some C programs
substituteInPlace t/basic-test.sh \
--replace it_stores_and_extracts_corpus0 dont_test
'';
preBuild = ''
make -f Makefile.prep synctus/ddar_pb2.py
'';
nativeBuildInputs = with python2.pkgs; [ protobuf.protobuf ];
propagatedBuildInputs = with python2.pkgs; [ protobuf ];
checkInputs = [ roundup ncurses ];
checkPhase = ''
roundup t/basic-test.sh
'';
meta = with lib; {
description = "Unix de-duplicating archiver";
license = licenses.gpl3;
homepage = src.meta.homepage;
};
}

@ -231,6 +231,7 @@ mapAliases ({
dbus_libs = throw "'dbus_libs' has been renamed to/replaced by 'dbus'"; # Converted to throw 2022-02-22
dbus_tools = throw "'dbus_tools' has been renamed to/replaced by 'dbus.out'"; # Converted to throw 2022-02-22
dbvisualizer = throw "dbvisualizer has been removed from nixpkgs, as it's unmaintained"; # Added 2020-09-20
ddar = throw "ddar has been removed: abandoned by upstream"; # Added 2022-03-18
deadbeef-mpris2-plugin = throw "'deadbeef-mpris2-plugin' has been renamed to/replaced by 'deadbeefPlugins.mpris2'"; # Converted to throw 2022-02-22
deadpixi-sam = deadpixi-sam-unstable;

@ -2854,8 +2854,6 @@ with pkgs;
dcw-gmt = callPackage ../applications/gis/gmt/dcw.nix { };
ddar = callPackage ../tools/backup/ddar { };
ddate = callPackage ../tools/misc/ddate { };
ddosify = callPackage ../development/tools/ddosify { };

Loading…
Cancel
Save