lagrange: 1.3.4 → 1.4.0

This commit is contained in:
Nikolay Korotkiy 2021-05-07 17:13:44 +03:00
parent 28907d3bff
commit f9bc5b46c2
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -10,23 +10,24 @@
, pcre , pcre
, SDL2 , SDL2
, AppKit , AppKit
, zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lagrange"; pname = "lagrange";
version = "1.3.4"; version = "1.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "skyjake"; owner = "skyjake";
repo = "lagrange"; repo = "lagrange";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-hPNqyTH2oMPytvYAF9sjEQ9ibaJYDODA33ZrDuWnloU="; sha256 = "sha256-l8k81w+ilkOk8iQTc46+HK40JQZ0dCYVAvkGTrEpZSQ=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libunistring mpg123 openssl pcre SDL2 ] buildInputs = [ libunistring mpg123 openssl pcre SDL2 zlib ]
++ lib.optional stdenv.isDarwin AppKit; ++ lib.optional stdenv.isDarwin AppKit;
hardeningDisable = lib.optional (!stdenv.cc.isClang) "format"; hardeningDisable = lib.optional (!stdenv.cc.isClang) "format";