depot/third_party/nixpkgs/pkgs/applications/misc/slides/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

34 lines
721 B
Nix

{ lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby }:
buildGoModule rec {
pname = "slides";
version = "0.5.0";
src = fetchFromGitHub {
owner = "maaslalani";
repo = "slides";
rev = "v${version}";
sha256 = "175g823n253d3xg8hxycw3gm1hhqb0vz8zs7xxcbdw5rlpd2hjii";
};
checkInputs = [
bash
go
python3
ruby
];
vendorSha256 = "13kx47amwvzyzc251iijsbwa52s8bpld4xllb4y85qkwllfnmq2g";
ldflags = [
"-s" "-w"
"-X=main.Version=${version}"
];
meta = with lib; {
description = "Terminal based presentation tool";
homepage = "https://github.com/maaslalani/slides";
license = licenses.mit;
maintainers = with maintainers; [ maaslalani ];
};
}