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

View file

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