2021-07-14 22:03:04 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "slides";
|
2021-08-27 14:25:00 +00:00
|
|
|
version = "0.5.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maaslalani";
|
|
|
|
repo = "slides";
|
|
|
|
rev = "v${version}";
|
2021-08-27 14:25:00 +00:00
|
|
|
sha256 = "175g823n253d3xg8hxycw3gm1hhqb0vz8zs7xxcbdw5rlpd2hjii";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
bash
|
|
|
|
go
|
|
|
|
python3
|
|
|
|
ruby
|
|
|
|
];
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
vendorSha256 = "13kx47amwvzyzc251iijsbwa52s8bpld4xllb4y85qkwllfnmq2g";
|
2021-06-28 23:13:55 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|