crispy-doom: add python to generate manpages

gstqt5
Sage Raflik 2020-08-21 23:44:23 -05:00
parent 4c7384870f
commit 23e5901ef3
1 changed files with 3 additions and 2 deletions

View File

@ -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 {
pname = "crispy-doom";
@ -25,9 +25,10 @@ stdenv.mkDerivation rec {
postPatch = ''
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 ];
enableParallelBuilding = true;