Merge pull request #243255 from wegank/gash-init

gash, gash-utils: init

authored by

Weijia Wang and committed by
GitHub
4e88b6d8 83cb80dc

+81
+46
pkgs/by-name/ga/gash-utils/package.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , guile 5 + , makeWrapper 6 + , pkg-config 7 + , gash 8 + }: 9 + 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "gash-utils"; 12 + version = "0.2.0"; 13 + 14 + src = fetchurl { 15 + url = "mirror://savannah/gash/gash-utils-${finalAttrs.version}.tar.gz"; 16 + hash = "sha256-5qrlpvQP34xfhzD2bD+MMEe94A+M2XWV9arSRElZ1KM="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ 22 + guile # buildPlatform's guile is needed at build time 23 + makeWrapper 24 + pkg-config 25 + ]; 26 + 27 + buildInputs = [ 28 + gash 29 + guile 30 + ]; 31 + 32 + postInstall = '' 33 + for f in $out/bin/*; do 34 + wrapProgram $f \ 35 + --prefix GUILE_LOAD_PATH : "${gash}/${guile.siteDir}" 36 + done 37 + ''; 38 + 39 + meta = with lib; { 40 + description = "Core POSIX utilities written in Guile Scheme"; 41 + homepage = "https://savannah.nongnu.org/projects/gash/"; 42 + license = licenses.gpl3Plus; 43 + maintainers = with maintainers; [ wegank ]; 44 + platforms = platforms.all; 45 + }; 46 + })
+35
pkgs/by-name/ga/gash/package.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , guile 5 + , pkg-config 6 + }: 7 + 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "gash"; 10 + version = "0.3.0"; 11 + 12 + src = fetchurl { 13 + url = "mirror://savannah/gash/gash-${finalAttrs.version}.tar.gz"; 14 + hash = "sha256-VGrsaRBo1nfFjd/BVpXbn4CGFuGfpzMi1Ppno8iXwqk="; 15 + }; 16 + 17 + strictDeps = true; 18 + 19 + nativeBuildInputs = [ 20 + guile # buildPlatform's guile is needed at build time 21 + pkg-config 22 + ]; 23 + 24 + buildInputs = [ 25 + guile 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "POSIX-compatible shell written in Guile Scheme"; 30 + homepage = "https://savannah.nongnu.org/projects/gash/"; 31 + license = licenses.gpl3Plus; 32 + maintainers = with maintainers; [ wegank ]; 33 + platforms = platforms.all; 34 + }; 35 + })