2015-04-06 09:56:54 +00:00
|
|
|
{ stdenv, fetchurl, e2fsprogs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-14 03:10:56 +00:00
|
|
|
name = "zerofree-${version}";
|
2017-07-31 23:51:40 +00:00
|
|
|
version = "1.1.0";
|
2015-04-06 09:56:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-14 03:10:56 +00:00
|
|
|
url = "http://frippery.org/uml/${name}.tgz";
|
2017-07-31 23:51:40 +00:00
|
|
|
sha256 = "059g29x5r1xj6wcj4xj85l8w6qrxyl86yqbybjqqz6nxz4falxzf";
|
2015-04-06 09:56:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ e2fsprogs ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp zerofree $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-07-31 23:51:40 +00:00
|
|
|
homepage = https://frippery.org/uml/;
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Zero free blocks from ext2, ext3 and ext4 file-systems";
|
2015-04-06 09:56:54 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.theuni ];
|
|
|
|
};
|
|
|
|
}
|