fatsort: add version number (close #7025)

Website monitor.nixos.org reported it as out of date when in reality it
just had no version number.
@vcunat refactored meta a bit.
This commit is contained in:
= 2015-03-26 22:20:12 +00:00 committed by Vladimír Čunát
parent 5b0310ec59
commit 6dc86cea5d
1 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,11 @@
{stdenv, fetchurl, help2man}: {stdenv, fetchurl, help2man}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "fatsort"; version = "1.3.365";
name = "fatsort-${version}";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/fatsort/fatsort-1.3.365.tar.gz; url = "mirror://sourceforge/fatsort/${name}.tar.gz";
sha256 = "0g9zn2ns86g7zmy0y8hw1w1zhnd51hy8yl6kflyhxs49n5sc7b3p"; sha256 = "0g9zn2ns86g7zmy0y8hw1w1zhnd51hy8yl6kflyhxs49n5sc7b3p";
}; };
@ -11,10 +13,11 @@ stdenv.mkDerivation {
buildInputs = [ help2man ]; buildInputs = [ help2man ];
meta = { meta = with stdenv.lib; {
homepage = http://fatsort.sourceforge.net/; homepage = http://fatsort.sourceforge.net/;
description = "Sorts FAT partition table, for devices that don't do sorting of files."; description = "Sorts FAT partition table, for devices that don't do sorting of files.";
maintainers = [ stdenv.lib.maintainers.kovirobi ]; maintainers = [ maintainers.kovirobi ];
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
inherit version;
}; };
} }