42eebf3a05
Semi-automatic update. These checks were performed: - built on NixOS - found 1.1.1 in filename of file in /nix/store/izfdcr9hld3rmcwcmvwfv9mc2pd414x3-zerofree-1.1.1 cc "@theuni"
25 lines
594 B
Nix
25 lines
594 B
Nix
{ stdenv, fetchurl, e2fsprogs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zerofree-${version}";
|
|
version = "1.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://frippery.org/uml/${name}.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 = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.theuni ];
|
|
};
|
|
}
|