nixpkgs/pkgs/by-name/se/seehecht/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
700 B
Nix
Raw Normal View History

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