@@ -0,0 +1,34 @@
1+{ lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby }:
2+
3+buildGoModule rec {
4+ pname = "slides";
5+ version = "0.2.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "maaslalani";
9+ repo = "slides";
10+ rev = "v${version}";
11+ sha256 = "0vwpisyvsgmvrzp26hapghgqmm3fhrzrvdnmws00xc2q3fsij9qx";
12+ };
13+
14+ checkInputs = [
15+ bash
16+ go
17+ python3
18+ ruby
19+ ];
20+
21+ vendorSha256 = "0y6fz9rw702mji571k0gp4kpfx7xbv7rvlnmpfjygy6lmp7wga6f";
22+
23+ ldflags = [
24+ "-s" "-w"
25+ "-X=main.Version=${version}"
26+ ];
27+
28+ meta = with lib; {
29+ description = "Terminal based presentation tool";
30+ homepage = "https://github.com/maaslalani/slides";
31+ license = licenses.mit;
32+ maintainers = with maintainers; [ maaslalani ];
33+ };
34+}