crispy-doom: add python to generate manpages
This commit is contained in:
parent
4c7384870f
commit
23e5901ef3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, fetchpatch }:
|
{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, fetchpatch, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crispy-doom";
|
pname = "crispy-doom";
|
||||||
@ -25,9 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
|
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
|
||||||
|
for script in $(grep -lr '^#!/usr/bin/env python$'); do patchShebangs $script; done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig python ];
|
||||||
buildInputs = [ SDL2 SDL2_mixer SDL2_net ];
|
buildInputs = [ SDL2 SDL2_mixer SDL2_net ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user