nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit aeddaf12d83b69539a34d5502304f621cbacf188
parent 43fed4606a4341853001f3fbd28a7a46a55e39bf
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed, 10 Apr 2024 13:07:59 +0400

Add youtimetrack

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/youtimetrack/default.nix | 22++++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -424,6 +424,7 @@ lib.makeScope newScope ( xtr = callPackage ./misc/xtr { inherit (darwin.apple_sdk.frameworks) Foundation; }; + youtimetrack = callPackage ./misc/youtimetrack { }; ### MQTT diff --git a/pkgs/misc/youtimetrack/default.nix b/pkgs/misc/youtimetrack/default.nix @@ -0,0 +1,22 @@ +{ stdenv, lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "youtimetrack"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "bullshitsoftware"; + repo = "youtimetrack"; + rev = "v${version}"; + hash = "sha256-IeiDdobOgwYwQytzgoAWQEyNtnJNXeMiiMFnZ3t7GYE="; + }; + + vendorHash = "sha256-HRyjdTTwDmu/5NVpjqCwatYuWN15j3rTgrhv76uMS7I="; + + meta = with lib; { + description = "CLI tools for YouTrack time management"; + inherit (src.meta) homepage; + license = licenses.wtfpl; + maintainers = [ maintainers.sikmir ]; + }; +}