nixpkgs-suyu/pkgs/tools/filesystems/zerofree/default.nix

27 lines
639 B
Nix
Raw Normal View History

2015-04-06 11:56:54 +02:00
{ stdenv, fetchurl, e2fsprogs }:
stdenv.mkDerivation rec {
pname = "zerofree";
version = "1.1.1";
2015-04-06 11:56:54 +02:00
src = fetchurl {
url = "https://frippery.org/uml/${pname}-${version}.tgz";
sha256 = "0rrqfa5z103ws89vi8kfvbks1cfs74ix6n1wb6vs582vnmhwhswm";
2015-04-06 11:56:54 +02:00
};
buildInputs = [ e2fsprogs ];
installPhase = ''
mkdir -p $out/bin
cp zerofree $out/bin
'';
meta = {
homepage = "https://frippery.org/uml/";
description = "Zero free blocks from ext2, ext3 and ext4 file-systems";
2015-04-06 11:56:54 +02:00
platforms = stdenv.lib.platforms.linux;
2018-07-22 16:43:55 +02:00
license = stdenv.lib.licenses.gpl2;
2015-04-06 11:56:54 +02:00
maintainers = [ stdenv.lib.maintainers.theuni ];
};
}