about summary refs log tree commit diff
path: root/pkgs/by-name/gu/guile-aspell/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gu/guile-aspell/package.nix')
-rw-r--r--pkgs/by-name/gu/guile-aspell/package.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/by-name/gu/guile-aspell/package.nix b/pkgs/by-name/gu/guile-aspell/package.nix
new file mode 100644
index 000000000000..cf5e51e2540b
--- /dev/null
+++ b/pkgs/by-name/gu/guile-aspell/package.nix
@@ -0,0 +1,46 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, guile
+, autoreconfHook
+, pkg-config
+, aspell
+, texinfo
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "guile-aspell";
+  version = "0.5.0";
+
+  src = fetchFromGitHub {
+    owner = "spk121";
+    repo = "guile-aspell";
+    rev = finalAttrs.version;
+    hash = "sha256-CvLECZLwf4MujAQCL3I81O5xFvq6ezVhV0BjbqI3mR0=";
+  };
+
+  strictDeps = true;
+
+  nativeBuildInputs = [
+    guile
+    autoreconfHook
+    pkg-config
+    texinfo
+  ];
+
+  buildInputs = [
+    guile
+  ];
+
+  propagatedBuildInputs = [
+    aspell
+  ];
+
+  meta = with lib; {
+    description = "Guile bindings for the aspell library";
+    homepage = "https://github.com/spk121/guile-aspell";
+    license = licenses.gpl3Only;
+    maintainers = with maintainers; [ snowflake ];
+    platforms = guile.meta.platforms;
+  };
+})