Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
911 B
Nix
44 lines
911 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
zig_0_14,
|
|
callPackage,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "flow-control";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neurocyte";
|
|
repo = "flow";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-jt7KJEg5300IuO7m7FiC8zejmymqMqdT7FtoVhTR05M=";
|
|
};
|
|
postPatch = ''
|
|
ln -s ${
|
|
callPackage ./build.zig.zon.nix {
|
|
zig = zig_0_14;
|
|
}
|
|
} $ZIG_GLOBAL_CACHE_DIR/p
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
zig_0_14.hook
|
|
];
|
|
|
|
passthru.updateScript = ./update.sh;
|
|
|
|
env.VERSION = finalAttrs.version;
|
|
|
|
meta = {
|
|
description = "Programmer's text editor";
|
|
homepage = "https://github.com/neurocyte/flow";
|
|
changelog = "https://github.com/neurocyte/flow/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ genga898 ];
|
|
mainProgram = "flow";
|
|
};
|
|
})
|