nix-search-tv: init at 1.0.0
This commit is contained in:
parent
d8c524e409
commit
9c025ba13d
40
pkgs/by-name/ni/nix-search-tv/package.nix
Normal file
40
pkgs/by-name/ni/nix-search-tv/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nix-search-tv";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "3timeslazy";
|
||||
repo = "nix-search-tv";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-SKLvN67GHLHGj0bUYdFutiLzRVCCtxNokWP0z3Za9UU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uzNDhkovlXx0tIgSJ3E08d0TNmktSrlOOe8Iwi4ZfmU=";
|
||||
|
||||
subPackages = [ "cmd/nix-search-tv" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Nixpkgs channel for television";
|
||||
homepage = "https://github.com/3timeslazy/nix-search-tv";
|
||||
changelog = "https://github.com/3timeslazy/nix-search-tv/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
mainProgram = "nix-search-tv";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user