wakapi: init at 2.6.1
This commit is contained in:
parent
f37d2b725d
commit
eaaaf92166
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/misc/wakapi/default.nix
Normal file
31
pkgs/tools/misc/wakapi/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "wakapi";
|
||||||
|
version = "2.6.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "muety";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1bhd96la2ipwna9lic50pd5klcc3xj9yqd5rd1cgzznbm4ylpjqb";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-fkSXaP9hHCCyO8mFB5CKPExifuNjTvDnXupjCVllG9I";
|
||||||
|
|
||||||
|
# Not a go module required by the project, contains development utilities
|
||||||
|
excludedPackages = [ "scripts" ];
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://wakapi.dev/";
|
||||||
|
changelog = "https://github.com/muety/wakapi/releases/tag/${version}";
|
||||||
|
description = "A minimalist self-hosted WakaTime-compatible backend for coding statistics";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ t4ccer ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12975,6 +12975,8 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) OpenCL;
|
inherit (darwin.apple_sdk.frameworks) OpenCL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wakapi = callPackage ../tools/misc/wakapi { };
|
||||||
|
|
||||||
wakatime = python2Packages.callPackage ../tools/misc/wakatime { };
|
wakatime = python2Packages.callPackage ../tools/misc/wakatime { };
|
||||||
|
|
||||||
weather = callPackage ../applications/misc/weather { };
|
weather = callPackage ../applications/misc/weather { };
|
||||||
|
|
Loading…
Reference in a new issue