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