Merge pull request #238298 from sikmir/lagrange

lagrange: 1.16.3 → 1.16.4
This commit is contained in:
Weijia Wang 2023-06-18 02:07:28 +03:00 committed by GitHub
commit fd4ff73636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ]