From f831e0420a6b17799bec42fdaaee2f11d8794ff8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Jan 2008 17:08:38 +0000 Subject: [PATCH] * Added ms-sys, a program for writing Microsoft compatible boot records. svn path=/nixpkgs/trunk/; revision=10414 --- pkgs/tools/misc/mssys/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/misc/mssys/default.nix diff --git a/pkgs/tools/misc/mssys/default.nix b/pkgs/tools/misc/mssys/default.nix new file mode 100644 index 000000000000..a9d32205ceab --- /dev/null +++ b/pkgs/tools/misc/mssys/default.nix @@ -0,0 +1,22 @@ +{stdenv, fetchurl, gettext}: + +stdenv.mkDerivation { + name = "ms-sys-2.1.3"; + + src = fetchurl { + url = mirror://sourceforge/ms-sys/ms-sys-2.1.3.tgz; + md5 = "6fad0a69ac89440ad4f696dbbbf11497"; + }; + + buildInputs = [gettext]; + + preBuild = '' + makeFlags=(PREFIX=$out) + ''; + + meta = { + homepage = http://ms-sys.sourceforge.net/; + license = "GPL"; + description = "A program for writing Microsoft compatible boot records"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f0ea50d68692..567c84a6163b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -634,6 +634,10 @@ rec { inherit fetchurl stdenv; }; + mssys = import ../tools/misc/mssys { + inherit fetchurl stdenv gettext; + }; + ncat = import ../tools/networking/ncat { inherit fetchurl stdenv openssl; };