nixpkgs/pkgs/tools/misc/ms-sys/default.nix

27 lines
742 B
Nix
Raw Normal View History

2015-12-12 18:09:21 -08:00
{ stdenv, fetchurl, gettext }:
2015-03-02 06:47:53 -08:00
stdenv.mkDerivation rec {
pname = "ms-sys";
version = "2.6.0";
2017-12-15 20:46:09 -08:00
src = fetchurl {
url = "mirror://sourceforge/ms-sys/${pname}-${version}.tar.gz";
sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz";
};
# TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/
patches = [ ./manpages-without-build-timestamps.patch ];
2017-12-15 20:46:09 -08:00
nativeBuildInputs = [ gettext ];
enableParallelBuilding = true;
2015-12-12 18:09:21 -08:00
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
2016-03-01 21:39:02 -08:00
description = "A program for writing Microsoft-compatible boot records";
homepage = http://ms-sys.sourceforge.net/;
2016-01-17 14:47:25 -08:00
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}