mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
37 lines
729 B
Nix
37 lines
729 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
bison,
|
|
flex,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "zrc";
|
|
version = "2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Edd12321";
|
|
repo = "zrc";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-iqGK6myl5kybTWtL6mQPAWNWluOPUxiNCJFf3e8CfHA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
bison
|
|
flex
|
|
];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
description = "UNIX shell and scripting language with syntax similar to Tcl";
|
|
homepage = "https://github.com/Edd12321/zrc";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
mainProgram = "zrc";
|
|
platforms = lib.platforms.all;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
})
|