c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
38 lines
761 B
Nix
38 lines
761 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, zig_0_11
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cyber";
|
|
version = "unstable-2023-08-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fubark";
|
|
repo = "cyber";
|
|
rev = "242ba2573cbac2acecc8c06878a8d754dd7a8716";
|
|
hash = "sha256-jArkFdvWnHNouNGsTn8O2lbU7eZdLbPD0xEfkrFH5Aw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
zig_0_11.hook
|
|
];
|
|
|
|
zigBuildFlags = [
|
|
"cli"
|
|
];
|
|
|
|
env = {
|
|
COMMIT = lib.substring 0 7 src.rev;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A fast, efficient, and concurrent scripting language";
|
|
homepage = "https://github.com/fubark/cyber";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
inherit (zig_0_11.meta) platforms;
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|