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

27 lines
742 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gettext }:
2015-03-02 14:47:53 +00:00
stdenv.mkDerivation rec {
pname = "ms-sys";
version = "2.6.0";
2017-12-16 04:46:09 +00: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-16 04:46:09 +00:00
nativeBuildInputs = [ gettext ];
enableParallelBuilding = true;
2015-12-13 02:09:21 +00:00
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
2016-03-02 05:39:02 +00:00
description = "A program for writing Microsoft-compatible boot records";
homepage = "http://ms-sys.sourceforge.net/";
2016-01-17 22:47:25 +00:00
license = licenses.gpl2Plus;
platforms = with platforms; linux;
};
}