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
37 lines
880 B
Nix
37 lines
880 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
installShellFiles,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "skrive";
|
|
version = "0.10.0";
|
|
src = fetchFromGitHub {
|
|
owner = "VanuPhantom";
|
|
repo = "skrive";
|
|
tag = "v${version}";
|
|
hash = "sha256-thEq9mMQl9BNlc5PKbEjOoSsVO0ENSpDy0nQ7uplPus=";
|
|
};
|
|
|
|
vendorHash = "sha256-NLkrUaEpwvQhMcNcUbBiaPQKRocLT1RSwAIcMOrRdmg=";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
postInstall = ''
|
|
mv skrive.1.man skrive.1
|
|
installManPage skrive.1
|
|
'';
|
|
|
|
meta = {
|
|
description = "Secure and sleek dosage logging for the terminal";
|
|
homepage = "https://github.com/VanuPhantom/skrive";
|
|
changelog = "https://github.com/VanuPhantom/skrive/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ freyacodes ];
|
|
mainProgram = "skrive";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|