lagrange: 1.1.0 → 1.1.1

This commit is contained in:
Nikolay Korotkiy 2021-02-04 10:23:03 +03:00
parent b76d44b961
commit 35a47545d8
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -1,9 +1,11 @@
{ stdenv
, lib
, fetchFromGitHub
, nix-update-script
, cmake
, pkg-config
, libunistring
, mpg123
, openssl
, pcre
, SDL2
@ -12,19 +14,19 @@
stdenv.mkDerivation rec {
pname = "lagrange";
version = "1.1.0";
version = "1.1.1";
src = fetchFromGitHub {
owner = "skyjake";
repo = "lagrange";
rev = "v${version}";
sha256 = "04bp5k1byjbzwnmcx4b7sw68pr2jrj4c21z76jq311hyrmanj6fi";
sha256 = "0c7w4a19cwx3bkmbhc9c1wx0zmqd3a1grrj4ffifdic95wdihv7x";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libunistring openssl pcre SDL2 ]
buildInputs = [ libunistring mpg123 openssl pcre SDL2 ]
++ lib.optional stdenv.isDarwin AppKit;
hardeningDisable = lib.optional (!stdenv.cc.isClang) "format";
@ -34,6 +36,12 @@ stdenv.mkDerivation rec {
mv Lagrange.app $out/Applications
'' else null;
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "A Beautiful Gemini Client";
homepage = "https://gmi.skyjake.fi/lagrange/";