wipefreespace: 2.6 -> 3.0 (#438122)

authored by Sandro and committed by GitHub 7fd0a62f d042fb41

+21 -28
+21 -28
pkgs/by-name/wi/wipefreespace/package.nix
··· 1 1 { 2 + lib, 2 3 stdenv, 3 - lib, 4 - fetchurl, 4 + fetchFromGitHub, 5 + gettext, 6 + texinfo, 7 + xfsprogs, 5 8 e2fsprogs, 9 + libcap, 6 10 ntfs3g, 7 - xfsprogs, 8 - reiser4progs, 9 - libaal, 10 - jfsutils, 11 - libuuid, 12 - texinfo, 13 11 }: 14 12 15 - stdenv.mkDerivation rec { 13 + stdenv.mkDerivation (finalAttrs: { 16 14 pname = "wipefreespace"; 17 - version = "2.6"; 15 + version = "3.0"; 18 16 19 - src = fetchurl { 20 - url = "mirror://sourceforge/project/wipefreespace/wipefreespace/${version}/wipefreespace-${version}.tar.gz"; 21 - hash = "sha256-Pt6MDQ9wSJbL4tW/qckTpFsvE9FdXIkp/QmnYSlWR/M="; 17 + src = fetchFromGitHub { 18 + owner = "bogdro"; 19 + repo = "wipefreespace"; 20 + tag = finalAttrs.version; 21 + hash = "sha256-zWjMCWQNPPly8xJ7jQraGHi4OLuNrnpNVQC2CRyHUlw="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ 25 + gettext 25 26 texinfo 27 + xfsprogs 26 28 ]; 27 29 28 30 # missed: Reiser3 FAT12/16/32 MinixFS HFS+ OCFS 29 31 buildInputs = [ 30 32 e2fsprogs 33 + libcap 31 34 ntfs3g 32 35 xfsprogs 33 - reiser4progs 34 - libaal 35 - jfsutils 36 - libuuid 37 36 ]; 38 37 39 38 strictDeps = true; 40 39 41 - preConfigure = '' 42 - export PATH=$PATH:${xfsprogs}/bin 43 - export CFLAGS=-I${jfsutils}/include 44 - export LDFLAGS="-L${jfsutils}/lib -L${reiser4progs}/lib" 45 - ''; 46 - 47 - meta = with lib; { 40 + meta = { 48 41 description = "Program which will securely wipe the free space"; 49 42 homepage = "https://wipefreespace.sourceforge.io"; 50 - license = licenses.gpl2Plus; 51 - platforms = platforms.linux; 52 - maintainers = with maintainers; [ catap ]; 43 + license = lib.licenses.gpl2Plus; 44 + platforms = lib.platforms.linux; 45 + maintainers = with lib.maintainers; [ kyehn ]; 53 46 mainProgram = "wipefreespace"; 54 47 }; 55 - } 48 + })