freesweep: small cleanup
This commit is contained in:
parent
f89c828186
commit
28e6c4ce15
@ -1,5 +1,5 @@
|
|||||||
{ fetchFromGitHub, fetchpatch, ncurses, lib, stdenv,
|
{ fetchFromGitHub, fetchpatch, ncurses, lib, stdenv
|
||||||
updateAutotoolsGnuConfigScriptsHook }:
|
, updateAutotoolsGnuConfigScriptsHook, installShellFiles }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "freesweep";
|
pname = "freesweep";
|
||||||
@ -12,12 +12,10 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-iuu81yHbNrjdPsimBrPK58PJ0d8i3ySM7rFUG/d8NJM";
|
hash = "sha256-iuu81yHbNrjdPsimBrPK58PJ0d8i3ySM7rFUG/d8NJM";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
|
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook installShellFiles ];
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
preConfigure = ''
|
configureFlags = [ "--with-prefsdir=$out/share" ];
|
||||||
configureFlags="$configureFlags --with-prefsdir=$out/share"
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
runHook preInstall
|
runHook preInstall
|
||||||
install -D -m 0555 freesweep $out/bin/freesweep
|
install -D -m 0555 freesweep $out/bin/freesweep
|
||||||
install -D -m 0444 sweeprc $out/share/sweeprc
|
install -D -m 0444 sweeprc $out/share/sweeprc
|
||||||
install -D -m 0444 freesweep.6 $out/share/man/man6/freesweep.6
|
installManPage freesweep.6
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user