Skip to content

Commit

Permalink
packages(rucola): init at 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Oct 6, 2024
1 parent e7abdbe commit 4f420c6
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions packages/rucola.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
oniguruma,
}:

rustPlatform.buildRustPackage rec {
pname = "rucola";
version = "0.4.0";

src = fetchFromGitHub {
owner = "Linus-Mussmaecher";
repo = "rucola";
rev = "v${version}";
hash = "sha256-6ybFz+DSv50QvG6XUvyvrrkOmsc5LPdXeALiaL8rSnQ=";
};

cargoHash = "sha256-KP28bDTNv4NmkQyE0g3GGsgzJt6MPx+ZRH6YJbiv0H4=";

nativeBuildInputs = [
pkg-config
];

buildInputs = [
oniguruma
];

env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};

meta = {
description = "Terminal-based markdown note manager";
homepage = "https://github.com/Linus-Mussmaecher/rucola";
changelog = "https://github.com/Linus-Mussmaecher/rucola/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ donovanglover ];
mainProgram = "rucola";
};
}

0 comments on commit 4f420c6

Please sign in to comment.