commit
0b3975038f
@ -3727,6 +3727,11 @@
|
|||||||
github = "polyrod";
|
github = "polyrod";
|
||||||
name = "Maurizio Di Pietro";
|
name = "Maurizio Di Pietro";
|
||||||
};
|
};
|
||||||
|
pombeirp = {
|
||||||
|
email = "nix@endgr.33mail.com";
|
||||||
|
github = "PombeirP";
|
||||||
|
name = "Pedro Pombeiro";
|
||||||
|
};
|
||||||
pradeepchhetri = {
|
pradeepchhetri = {
|
||||||
email = "pradeep.chhetri89@gmail.com";
|
email = "pradeep.chhetri89@gmail.com";
|
||||||
github = "pradeepchhetri";
|
github = "pradeepchhetri";
|
||||||
|
51
pkgs/development/tools/nsis/default.nix
Normal file
51
pkgs/development/tools/nsis/default.nix
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
{ stdenv, fetchurl, fetchzip, scons, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "nsis-${version}";
|
||||||
|
version = "3.04";
|
||||||
|
|
||||||
|
src =
|
||||||
|
fetchurl {
|
||||||
|
url = "mirror://sourceforge/project/nsis/NSIS%203/${version}/nsis-${version}-src.tar.bz2";
|
||||||
|
sha256 = "1xgllk2mk36ll2509hd31mfq6blgncmdzmwxj3ymrwshdh23d5b0";
|
||||||
|
};
|
||||||
|
srcWinDistributable =
|
||||||
|
fetchzip {
|
||||||
|
url = "mirror://sourceforge/project/nsis/NSIS%203/${version}/nsis-${version}.zip";
|
||||||
|
sha256 = "1g31vz73x4d3cmsw2wfk43qa06bpqp5815fb5qq9vmwms6hym6y2";
|
||||||
|
};
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
mkdir -p $out/share/nsis
|
||||||
|
cp -avr ${srcWinDistributable}/{Contrib,Include,Plugins,Stubs} \
|
||||||
|
$out/share/nsis
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ scons ];
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
sconsFlags = [
|
||||||
|
"SKIPSTUBS=all"
|
||||||
|
"SKIPPLUGINS=all"
|
||||||
|
"SKIPUTILS=all"
|
||||||
|
"SKIPMISC=all"
|
||||||
|
"APPEND_CPPPATH=${zlib.dev}/include"
|
||||||
|
"APPEND_LIBPATH=${zlib}/lib"
|
||||||
|
"NSIS_CONFIG_CONST_DATA=no"
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
sconsFlagsArray+=("PATH=$PATH")
|
||||||
|
'';
|
||||||
|
|
||||||
|
prefixKey = "PREFIX=";
|
||||||
|
installTargets = "install-compiler";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "NSIS is a free scriptable win32 installer/uninstaller system that doesn't suck and isn't huge";
|
||||||
|
homepage = https://nsis.sourceforge.io/;
|
||||||
|
license = licenses.zlib;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ pombeirp ];
|
||||||
|
};
|
||||||
|
}
|
@ -9349,6 +9349,8 @@ in
|
|||||||
|
|
||||||
mypy = with python3Packages; toPythonApplication mypy;
|
mypy = with python3Packages; toPythonApplication mypy;
|
||||||
|
|
||||||
|
nsis = callPackage ../development/tools/nsis { };
|
||||||
|
|
||||||
### DEVELOPMENT / LIBRARIES
|
### DEVELOPMENT / LIBRARIES
|
||||||
|
|
||||||
a52dec = callPackage ../development/libraries/a52dec { };
|
a52dec = callPackage ../development/libraries/a52dec { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user