blob: 2489357f73f942fc8413a3308fb5b0cd53003f4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, fetchurl, e2fsprogs }:
stdenv.mkDerivation rec {
pname = "zerofree";
version = "1.1.1";
src = fetchurl {
url = "https://frippery.org/uml/${pname}-${version}.tgz";
sha256 = "0rrqfa5z103ws89vi8kfvbks1cfs74ix6n1wb6vs582vnmhwhswm";
};
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";
platforms = lib.platforms.linux;
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.theuni ];
};
}
|