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