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

35 lines
721 B
Nix
Raw Normal View History

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