1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

innoextract: drop python as dep

This commit is contained in:
Frederik Rietdijk 2021-03-26 09:55:32 +01:00
parent 2a286fa360
commit cd7593f815

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cmake, makeWrapper, python
{ lib, stdenv, fetchurl, cmake, makeWrapper
, boost, lzma
, withGog ? false, unar ? null }:
@ -10,10 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "09l1z1nbl6ijqqwszdwch9mqr54qb7df0wp2sd77v17dq6gsci33";
};
buildInputs = [ python lzma boost ];
buildInputs = [ lzma boost ];
# Python is reported as missing during the build, however
# including Python does not change the output.
nativeBuildInputs = [ cmake makeWrapper ];
strictDeps = true;
# we need unar to for multi-archive extraction
postFixup = lib.optionalString withGog ''
wrapProgram $out/bin/innoextract \