Merge remote-tracking branch 'upstream/master' into HEAD
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "maim-${version}";
|
||||
version = "5.4.67";
|
||||
version = "5.4.68";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "naelstrof";
|
||||
repo = "maim";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p72pkfnzhxxmlnryjyvgr6cgjm5ww10xr35si9mx9s4b9pz38jd";
|
||||
sha256 = "12jvfxzfhh6cbk6ygliwnkvm3mb7rca60k6x9qdzm17jsz65xhh0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
@@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
LDFLAGS = optional static "-static";
|
||||
# Workaround for crash in cexcept.h. See
|
||||
# https://github.com/NixOS/nixpkgs/issues/28106
|
||||
preConfigure = ''
|
||||
export LD=$CC
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-system-zlib"
|
||||
"--with-system-libpng"
|
||||
|
||||
Reference in New Issue
Block a user