blob: 1484c104c2c4ee93bb3ef60ac8e9f49efad42cb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, bash
, buildGoModule
, fetchFromGitHub
, go
, python3
, ruby
}:
buildGoModule rec {
pname = "slides";
version = "0.6.1";
src = fetchFromGitHub {
owner = "maaslalani";
repo = "slides";
rev = "v${version}";
sha256 = "sha256-530OsO3Rg13nmFYOoouhWvy12Afd25O4We9RBHe1CmE=";
};
checkInputs = [
bash
go
python3
ruby
];
vendorSha256 = "sha256-pI5/1LJVP/ZH64Dy2rUoOXM21oqJ8KA0/L8ClGRb5UY=";
ldflags = [
"-s" "-w"
"-X=main.Version=${version}"
];
# https://github.com/maaslalani/slides/issues/113
doCheck = false;
meta = with lib; {
description = "Terminal based presentation tool";
homepage = "https://github.com/maaslalani/slides";
license = licenses.mit;
maintainers = with maintainers; [ maaslalani ];
};
}
|