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