mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #243255 from wegank/gash-init
gash, gash-utils: init
This commit is contained in:
commit
4e88b6d8f0
46
pkgs/by-name/ga/gash-utils/package.nix
Normal file
46
pkgs/by-name/ga/gash-utils/package.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, guile
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, gash
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gash-utils";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/gash/gash-utils-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-5qrlpvQP34xfhzD2bD+MMEe94A+M2XWV9arSRElZ1KM=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
guile # buildPlatform's guile is needed at build time
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gash
|
||||
guile
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
for f in $out/bin/*; do
|
||||
wrapProgram $f \
|
||||
--prefix GUILE_LOAD_PATH : "${gash}/${guile.siteDir}"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core POSIX utilities written in Guile Scheme";
|
||||
homepage = "https://savannah.nongnu.org/projects/gash/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
35
pkgs/by-name/ga/gash/package.nix
Normal file
35
pkgs/by-name/ga/gash/package.nix
Normal file
@ -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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user