Merge pull request #164752 from armeenm/remove-ddar

This commit is contained in:
Martin Weinelt 2022-03-31 01:05:12 +02:00 committed by GitHub
commit 3bb4e8977a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 42 deletions

View File

@ -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;
};
}

View File

@ -230,6 +230,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;

View File

@ -2884,8 +2884,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 { };