2022-04-21 19:03:45 +02:00
|
|
|
{ lib, rustPlatform, fetchFromGitea }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "seehecht";
|
2022-08-02 02:45:24 +02:00
|
|
|
version = "3.0.3";
|
2022-04-21 19:03:45 +02:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
2022-07-20 01:47:30 +02:00
|
|
|
owner = "annaaurora";
|
2022-04-21 19:03:45 +02:00
|
|
|
repo = "seehecht";
|
|
|
|
rev = "v${version}";
|
2022-08-02 02:45:24 +02:00
|
|
|
sha256 = "sha256-KIxK0JYfq/1Bn4LOn+LzWPBUvGYMvOEuqS7GMpDRvW0=";
|
2022-04-21 19:03:45 +02:00
|
|
|
};
|
|
|
|
|
2022-08-02 02:45:24 +02:00
|
|
|
cargoSha256 = "sha256-AeVUVF4SBS9FG0iezLBKUm4Uk1PPRXPTON93evgL9IA=";
|
2022-04-21 19:03:45 +02:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s $out/bin/seh $out/bin/seehecht
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to quickly open a markdown document with already filled out frontmatter";
|
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
platforms = platforms.all;
|
2022-07-20 01:47:30 +02:00
|
|
|
maintainers = with maintainers; [ annaaurora ];
|
2022-04-21 19:03:45 +02:00
|
|
|
};
|
|
|
|
}
|