bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
24 lines
620 B
Nix
24 lines
620 B
Nix
{ stdenv, fetchurl, e2fsprogs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zerofree-1.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://intgat.tigress.co.uk/rmy/uml/zerofree-1.0.3.tgz";
|
|
sha256 = "3acfda860be0f0ddcb5c982ff3b4475b1ee8cc35a90ae2a910e93261dbe0ccf6";
|
|
};
|
|
|
|
buildInputs = [ e2fsprogs ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp zerofree $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://intgat.tigress.co.uk/rmy/uml/index.html;
|
|
description = "Zero free blocks from ext2, ext3 and ext4 file-systems";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.theuni ];
|
|
};
|
|
}
|