nixpkgs/pkgs/tools/misc/ms-sys/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
599 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";
};
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;
};
}