1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/ms-sys/default.nix
2020-04-10 17:54:53 +01:00

27 lines
744 B
Nix

{ stdenv, fetchurl, gettext }:
stdenv.mkDerivation rec {
pname = "ms-sys";
version = "2.6.0";
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 ];
nativeBuildInputs = [ 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;
platforms = with platforms; linux;
};
}