Files
nixpkgs/pkgs/by-name/hc/hck/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
841 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
cmake,
}:
rustPlatform.buildRustPackage rec {
pname = "hck";
version = "0.11.4";
src = fetchFromGitHub {
owner = "sstadick";
repo = "hck";
rev = "v${version}";
hash = "sha256-XnkLKslZY2nvjO5ZeTIBJ0Y47/JPhfIS/F5KKqm5iwI=";
};
cargoHash = "sha256-NKyBC/kD2tq61su7tUsSPQ2Rr4YBYUsotL55aCoFNGw=";
nativeBuildInputs = [ cmake ];
meta = {
description = "Close to drop in replacement for cut that can use a regex delimiter instead of a fixed string";
homepage = "https://github.com/sstadick/hck";
changelog = "https://github.com/sstadick/hck/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [
mit # or
unlicense
];
maintainers = with lib.maintainers; [
figsoda
gepbird
];
mainProgram = "hck";
};
}