Merge pull request #231398 from cameronfyfe/add-present-cli
present-cli: init at 0.2.2
This commit is contained in:
commit
06f8a3226d
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 a new issue