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-07-10 23:46:45 +02:00
|
|
|
version = "0.4.1";
|
2021-06-11 20:43:48 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maaslalani";
|
|
|
|
repo = "slides";
|
|
|
|
rev = "v${version}";
|
2021-07-10 23:46:45 +02:00
|
|
|
sha256 = "1cywqrqj199hmx532h4vn0j17ypswq2zkmv8qpxpayvjwimx4pwk";
|
2021-06-11 20:43:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
bash
|
|
|
|
go
|
|
|
|
python3
|
|
|
|
ruby
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|