yarr: init at 2.3
This commit is contained in:
parent
d12e0118c3
commit
bfa8da8644
38
pkgs/applications/networking/feedreaders/yarr/default.nix
Normal file
38
pkgs/applications/networking/feedreaders/yarr/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, testers, yarr }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yarr";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nkanaev";
|
||||
repo = "yarr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LW0crWdxS6zcY5rxR0F2FLDYy9Ph2ZKyB/5VFVss+tA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-yXnoibqa0+lHhX3I687thGgasaVeNiHpGFmtEnH7oWY=";
|
||||
|
||||
subPackages = [ "src" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" "-X main.GitHash=none" ];
|
||||
|
||||
tags = [ "sqlite_foreign_keys" "release" ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{src,yarr}
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = yarr;
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet another rss reader";
|
||||
homepage = "https://github.com/nkanaev/yarr";
|
||||
changelog = "https://github.com/nkanaev/yarr/blob/v${version}/doc/changelog.txt";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
|
@ -12674,6 +12674,8 @@ with pkgs;
|
|||
mkYarnModules
|
||||
fixup_yarn_lock;
|
||||
|
||||
yarr = callPackage ../applications/networking/feedreaders/yarr { };
|
||||
|
||||
yascreen = callPackage ../development/libraries/yascreen { };
|
||||
|
||||
yasr = callPackage ../applications/audio/yasr { };
|
||||
|
|
Loading…
Reference in a new issue