Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
748 B
Nix
35 lines
748 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "present";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "terror";
|
|
repo = "present";
|
|
rev = "43c10253dc31038614eba5824588dbf2716212d6A";
|
|
sha256 = "aMy8Qn1kUM7jmvD9nGjBk1XXQF1rTLfnPDJOh9d4uIg=";
|
|
};
|
|
|
|
cargoHash = "sha256-rLLhZL8WQs68+nwCrJ9Dej3T1JU9t+ZrBhSMxAdOfbw=";
|
|
|
|
# required for tests
|
|
postPatch = ''
|
|
patchShebangs bin/get_version
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Script interpolation engine for markdown documents";
|
|
homepage = "https://github.com/terror/present/";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ cameronfyfe ];
|
|
mainProgram = "present";
|
|
};
|
|
}
|