Skip to content

Commit

Permalink
skrive: init at 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Feb 25, 2024
1 parent 5fd6c33 commit 15b73a7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/sk/skrive/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, fetchFromGitHub
, buildGoModule
, installShellFiles
}:

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

vendorHash = "sha256-gPHt9yggrxVONOdC2/YcC5wHhI/mottc2Pq7IVGmE4I=";

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 15b73a7

Please sign in to comment.