lagrange: 1.16.3 → 1.16.4

This commit is contained in:
Nikolay Korotkiy 2023-06-17 20:42:53 +04:00
parent 6eb4984132
commit 6d573a1b62
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, nix-update-script
, cmake
, pkg-config
@ -18,25 +17,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "lagrange";
version = "1.16.3";
version = "1.16.4";
src = fetchFromGitHub {
owner = "skyjake";
repo = "lagrange";
rev = "v${finalAttrs.version}";
hash = "sha256-DpgCxnwkNP2mZNYygxFLMufEijYoLr4qor0DYCmbps8=";
hash = "sha256-crOUuCQwqB1Eaesx7jXUd3/ti1LGMOjjESiOJjg/iZo=";
};
patches = [
# fixes `lagrange-tui`
# remove when 1.64.4 comes out
(fetchpatch {
name = "tui-fixed-build-after-changes-to-text-init.patch";
url = "https://github.com/skyjake/lagrange/commit/1c811221acc5b8eb47210fba90dc3a789a093e9b.patch";
hash = "sha256-K0njCcEOOYAwo3FI8eBg53Qo8J/iNBqCn3WCKQb0cgk=";
})
];
nativeBuildInputs = [ cmake pkg-config zip ];
buildInputs = [ the-foundation ]