nixpkgs/pkgs/desktops/gnustep/gui/default.nix
2024-03-03 20:15:34 +01:00

33 lines
859 B
Nix

{ lib
, stdenv
, make
, wrapGNUstepAppsHook
, fetchzip
, base
}:
stdenv.mkDerivation (finalAttrs: {
version = "0.30.0";
pname = "gnustep-gui";
src = fetchzip {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-${finalAttrs.version}.tar.gz";
sha256 = "sha256-24hL4TeIY6izlhQUcxKI0nXITysAPfRrncRqsDm2zNk=";
};
nativeBuildInputs = [ make wrapGNUstepAppsHook ];
buildInputs = [ base ];
patches = [
./fixup-all.patch
];
meta = {
changelog = "https://github.com/gnustep/libs-gui/releases/tag/gui-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
description = "A GUI class library of GNUstep";
homepage = "https://gnustep.github.io/";
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
platforms = lib.platforms.linux;
};
})