1 { lib, stdenv, fetchurl, gettext }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/ms-sys/ms-sys-${version}.tar.gz";
9 sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz";
11 # TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/
12 patches = [ ./manpages-without-build-timestamps.patch ];
14 nativeBuildInputs = [ gettext ];
16 enableParallelBuilding = true;
18 makeFlags = [ "PREFIX=$(out)" ];
21 description = "Program for writing Microsoft-compatible boot records";
22 homepage = "https://ms-sys.sourceforge.net/";
23 license = licenses.gpl2Plus;
24 platforms = with platforms; linux;
25 mainProgram = "ms-sys";