present-cli: init at 0.2.2
This commit is contained in:
parent
6dee6324c7
commit
7eac722675
32
pkgs/tools/misc/present-cli/default.nix
Normal file
32
pkgs/tools/misc/present-cli/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "present";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "terror";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "+kCHe84ikdCLd7j5YwP2j3xz+XTzzo/kLy+b9YUFDnI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "VKY/FQUrFWtLxKoK6LP6qPMqNN4absZvnAbH9mha1fI=";
|
||||
|
||||
# required for tests
|
||||
postPatch = ''
|
||||
patchShebangs bin/get_version
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A script interpolation engine for markdown documents";
|
||||
homepage = "https://github.com/terror/present/";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ cameronfyfe ];
|
||||
};
|
||||
}
|
@ -10453,6 +10453,8 @@ with pkgs;
|
||||
|
||||
pnmixer = callPackage ../tools/audio/pnmixer { };
|
||||
|
||||
present-cli = callPackage ../tools/misc/present-cli { };
|
||||
|
||||
promexplorer = callPackage ../tools/misc/promexplorer { };
|
||||
|
||||
pulsemixer = callPackage ../tools/audio/pulsemixer { };
|
||||
|
Loading…
Reference in New Issue
Block a user