about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ga/gash/package.nix
blob: cd6136dbc90f4a52d58eb66502a5a1554186f30d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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";
    mainProgram = "gash";
    homepage = "https://savannah.nongnu.org/projects/gash/";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ wegank ];
    platforms = platforms.all;
  };
})