nixpkgs/pkgs/by-name/ga/gash/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

37 lines
742 B
Nix

{ 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;
};
})