about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-05 19:39:54 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-05 19:39:54 +0200
commitd249a07758187b40ff8377e70c74defc188bea03 (patch)
tree3b60ec8b1ba7e1833936a5e8b56306187262123f /pkgs/by-name
parent53b7d1a5d4062d628caa37b934e0f16cc18e375c (diff)
gash: init at 0.3.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/ga/gash/package.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/gash/package.nix b/pkgs/by-name/ga/gash/package.nix
new file mode 100644
index 0000000000000..49dca79629071
--- /dev/null
+++ b/pkgs/by-name/ga/gash/package.nix
@@ -0,0 +1,35 @@
+{ lib
+, stdenv
+, fetchurl
+, guile
+, pkg-config
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "gash";
+  version = "0.3.0";
+
+  src = fetchurl {
+    url = "mirror://savannah/gash/gash-${finalAttrs.version}.tar.gz";
+    hash = "sha256-VGrsaRBo1nfFjd/BVpXbn4CGFuGfpzMi1Ppno8iXwqk=";
+  };
+
+  strictDeps = true;
+
+  nativeBuildInputs = [
+    guile # buildPlatform's guile is needed at build time
+    pkg-config
+  ];
+
+  buildInputs = [
+    guile
+  ];
+
+  meta = with lib; {
+    description = "POSIX-compatible shell written in Guile Scheme";
+    homepage = "https://savannah.nongnu.org/projects/gash/";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ wegank ];
+    platforms = platforms.all;
+  };
+})