Merge pull request #122031 from sikmir/lagrange

lagrange: 1.3.4 → 1.4.0
This commit is contained in:
Sandro 2021-05-07 16:37:28 +02:00 committed by GitHub
commit 281a57fc2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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