Unverified Commit 7ced4d9c authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

nabi: 1.0.0 -> 1.0.1 (#392355)

parents 97e6665e cb034500
Loading
Loading
Loading
Loading
+28 −11
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchFromGitHub,
  pkg-config,
  gtk2,
  libhangul,
  autoconf,
  automake,
}:

stdenv.mkDerivation rec {
  pname = "nabi";
  version = "1.0.0";
  version = "1.0.1";

  src = fetchurl {
    url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/nabi/nabi-${version}.tar.gz";
    sha256 = "0craa24pw7b70sh253arv9bg9sy4q3mhsjwfss3bnv5nf0xwnncw";
  src = fetchFromGitHub {
    owner = "libhangul";
    repo = "nabi";
    tag = "nabi-${version}";
    hash = "sha256-C6K8sXVCGf45VZtGSCB5emFzZPV21kG9JxAwBHRiFsY=";
  };

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    pkg-config
    autoconf
    automake
  ];

  buildInputs = [
    gtk2
    libhangul
  ];

  meta = with lib; {
  postPatch = ''
    patchShebangs ./autogen.sh
  '';

  preConfigure = ''
    ./autogen.sh
  '';

  meta = {
    description = "Easy Hangul XIM";
    mainProgram = "nabi";
    homepage = "https://github.com/choehwanjin/nabi";
    homepage = "https://github.com/libhangul/nabi";
    changelog = "https://github.com/libhangul/nabi/blob/nabi-${version}/NEWS";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.ianwookim ];
    platforms = platforms.linux;
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ ianwookim ];
    platforms = lib.platforms.linux;
  };
}