nixpkgs-suyu/pkgs/applications/misc/slides/default.nix

35 lines
721 B
Nix
Raw Normal View History

2021-07-10 23:46:45 +02:00
{ lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby }:
2021-06-11 20:43:48 +02:00
buildGoModule rec {
pname = "slides";
2021-08-25 22:31:26 +02:00
version = "0.5.0";
2021-06-11 20:43:48 +02:00
src = fetchFromGitHub {
owner = "maaslalani";
repo = "slides";
rev = "v${version}";
2021-08-25 22:31:26 +02:00
sha256 = "175g823n253d3xg8hxycw3gm1hhqb0vz8zs7xxcbdw5rlpd2hjii";
2021-06-11 20:43:48 +02:00
};
checkInputs = [
bash
go
python3
ruby
];
2021-08-25 22:31:26 +02:00
vendorSha256 = "13kx47amwvzyzc251iijsbwa52s8bpld4xllb4y85qkwllfnmq2g";
2021-06-11 20:43:48 +02:00
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 ];
};
}