Skip to content

Commit

Permalink
skrive: init at 0.10.0 (#285894)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 22, 2024
2 parents 3f0cff2 + 695c434 commit e89c48f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/sk/skrive/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
buildGoModule,
installShellFiles,
}:

buildGoModule rec {
pname = "skrive";
version = "0.10.0";
src = fetchFromGitHub {
owner = "VanuPhantom";
repo = "skrive";
rev = "refs/tags/v${version}";
hash = "sha256-thEq9mMQl9BNlc5PKbEjOoSsVO0ENSpDy0nQ7uplPus=";
};

vendorHash = "sha256-NLkrUaEpwvQhMcNcUbBiaPQKRocLT1RSwAIcMOrRdmg=";

nativeBuildInputs = [ installShellFiles ];

postInstall = ''
mv skrive.1.man skrive.1
installManPage skrive.1
'';

meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ freyacodes ];
mainProgram = "skrive";
platforms = platforms.all;
};
}

0 comments on commit e89c48f

Please sign in to comment.