nixpkgs/pkgs/by-name/na/nabi/package.nix
ghpzin cb034500d9 nabi: 1.0.0 -> 1.0.1
- update to 1.0.1
- switch `src` to `fetchFromGitHub` as there are no sources for 1.0.1
in "Google Code Archive"
- add `autoconf` and `automake` to run provided `autogen.sh`
2025-03-23 19:15:42 +03:00

52 lines
896 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
gtk2,
libhangul,
autoconf,
automake,
}:
stdenv.mkDerivation rec {
pname = "nabi";
version = "1.0.1";
src = fetchFromGitHub {
owner = "libhangul";
repo = "nabi";
tag = "nabi-${version}";
hash = "sha256-C6K8sXVCGf45VZtGSCB5emFzZPV21kG9JxAwBHRiFsY=";
};
nativeBuildInputs = [
pkg-config
autoconf
automake
];
buildInputs = [
gtk2
libhangul
];
postPatch = ''
patchShebangs ./autogen.sh
'';
preConfigure = ''
./autogen.sh
'';
meta = {
description = "Easy Hangul XIM";
mainProgram = "nabi";
homepage = "https://github.com/libhangul/nabi";
changelog = "https://github.com/libhangul/nabi/blob/nabi-${version}/NEWS";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ianwookim ];
platforms = lib.platforms.linux;
};
}