nixpkgs/pkgs/tools/misc/ms-sys/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

26 lines
638 B
Nix

{ stdenv, fetchurl, gettext }:
stdenv.mkDerivation rec {
name = "ms-sys-${version}";
version = "2.5.3";
src = fetchurl {
url = "mirror://sourceforge/ms-sys/${name}.tar.gz";
sha256 = "0mijf82cbji4laip6hiy3l5ka5mzq5sivjvyv7wxnc2fd3v7hgp0";
};
buildInputs = [ gettext ];
enableParallelBuilding = true;
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "A program for writing Microsoft-compatible boot records";
homepage = http://ms-sys.sourceforge.net/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nckx ];
platforms = with platforms; linux;
};
}