Unverified Commit 06f8a322 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #231398 from cameronfyfe/add-present-cli

present-cli: init at 0.2.2
parents 790a208a 7eac7226
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };