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
33 lines
884 B
Nix
33 lines
884 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "nu_plugin_semver";
|
|
version = "0.11.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abusch";
|
|
repo = "nu_plugin_semver";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-JF+aY7TW0NGo/E1eFVpBZQoxLxuGja8DSoJy4xgi1Lk=";
|
|
};
|
|
|
|
cargoHash = "sha256-609w/7vmKcNv1zSfd+k6TTeU2lQuzHX3W5Y8EqKIiAM=";
|
|
|
|
passthru.update-script = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Nushell plugin to work with semver versions";
|
|
homepage = "https://github.com/abusch/nu_plugin_semver";
|
|
changelog = "https://github.com/abusch/nu_plugin_semver/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ koffydrop ];
|
|
mainProgram = "nu_plugin_semver";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|