3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/slides/default.nix

36 lines
732 B
Nix
Raw Normal View History

2021-06-26 23:27:35 +01:00
{ lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby, sd }:
2021-06-11 19:43:48 +01:00
buildGoModule rec {
pname = "slides";
2021-07-02 02:12:31 +01:00
version = "0.4.0";
2021-06-11 19:43:48 +01:00
src = fetchFromGitHub {
owner = "maaslalani";
repo = "slides";
rev = "v${version}";
2021-07-02 02:12:31 +01:00
sha256 = "15f4sn1zsqqhzxnmwb1igh8xhka6li31ygdqgbjvxzm93lkarxvs";
2021-06-11 19:43:48 +01:00
};
checkInputs = [
bash
go
python3
ruby
2021-06-26 23:27:35 +01:00
sd
2021-06-11 19:43:48 +01:00
];
vendorSha256 = "0y6fz9rw702mji571k0gp4kpfx7xbv7rvlnmpfjygy6lmp7wga6f";
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 ];
};
}