7 stdenv.mkDerivation (finalAttrs: {
11 src = fetchFromGitLab {
12 domain = "salsa.debian.org";
13 owner = "pkg-security-team";
15 rev = "debian/${finalAttrs.version}";
16 hash = "sha256-1iW3Ug85ZLGpvG29N5zJt8oooSQGnLsr+8XIcp4aSSM=";
19 patches = let patch = name: "./debian/patches/${name}"; in [
20 (patch "10_fix-makefile.patch")
21 (patch "20_fix-typo-binary.patch")
22 (patch "30-fix-BTS-mergebad-crash.patch")
23 (patch "40_dev-c.patch")
24 ./0001-darwin-build-fixes.patch
28 substituteInPlace Makefile \
29 --replace-fail '$(DESTDIR)/usr/bin' $out/bin
41 installManPage recoverdm.1
45 description = "Recover damaged CD DVD and disks with bad sectors";
46 mainProgram = "recoverdm";
47 homepage = "https://salsa.debian.org/pkg-security-team/recoverdm";
48 changelog = "https://salsa.debian.org/pkg-security-team/recoverdm/-/blob/debian/master/debian/changelog";
49 maintainers = with maintainers; [ d3vil0p3r ];
50 platforms = platforms.unix;
51 license = licenses.gpl1Only;