2015-04-06 10:56:54 +01:00
|
|
|
{ stdenv, fetchurl, e2fsprogs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-14 04:10:56 +01:00
|
|
|
name = "zerofree-${version}";
|
2018-02-28 03:23:53 +00:00
|
|
|
version = "1.1.1";
|
2015-04-06 10:56:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://frippery.org/uml/${name}.tgz";
|
2018-02-28 03:23:53 +00:00
|
|
|
sha256 = "0rrqfa5z103ws89vi8kfvbks1cfs74ix6n1wb6vs582vnmhwhswm";
|
2015-04-06 10:56:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ e2fsprogs ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp zerofree $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 00:51:40 +01:00
|
|
|
homepage = https://frippery.org/uml/;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Zero free blocks from ext2, ext3 and ext4 file-systems";
|
2015-04-06 10:56:54 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-07-22 15:43:55 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2015-04-06 10:56:54 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.theuni ];
|
|
|
|
};
|
|
|
|
}
|