2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, gettext }:
|
2008-01-30 17:08:38 +00:00
|
|
|
|
2015-03-02 14:47:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ms-sys";
|
2019-03-26 07:00:37 +00:00
|
|
|
version = "2.6.0";
|
2017-12-16 04:46:09 +00:00
|
|
|
|
2008-01-30 17:08:38 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/ms-sys/${pname}-${version}.tar.gz";
|
2019-03-26 07:00:37 +00:00
|
|
|
sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz";
|
2008-01-30 17:08:38 +00:00
|
|
|
};
|
2020-01-06 15:54:43 +00:00
|
|
|
# TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/
|
|
|
|
patches = [ ./manpages-without-build-timestamps.patch ];
|
2008-01-30 17:08:38 +00:00
|
|
|
|
2017-12-16 04:46:09 +00:00
|
|
|
nativeBuildInputs = [ gettext ];
|
2008-01-30 17:08:38 +00:00
|
|
|
|
2016-01-17 22:20:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-12-13 02:09:21 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2008-01-30 17:08:38 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-03-02 05:39:02 +00:00
|
|
|
description = "A program for writing Microsoft-compatible boot records";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://ms-sys.sourceforge.net/";
|
2016-01-17 22:47:25 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "ms-sys";
|
2008-01-30 17:08:38 +00:00
|
|
|
};
|
|
|
|
}
|