mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
39 lines
693 B
Nix
39 lines
693 B
Nix
{ lib
|
|
, bash
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, go
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "slides";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maaslalani";
|
|
repo = "slides";
|
|
rev = "v${version}";
|
|
sha256 = "02zdgn0pnjqharvmn9rww45yrja8dzww64s3fryxx4pm8g5km9nf";
|
|
};
|
|
|
|
checkInputs = [
|
|
bash
|
|
go
|
|
];
|
|
|
|
vendorSha256 = "06vb5xnss6ibgbsny6cadphfkzw8z3np5qgn3hp2wpf3hxgcnnvs";
|
|
|
|
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 ];
|
|
};
|
|
}
|