From 1a55c66f8e96c8460cf55bd45ebe9dc766ed2cb3 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Thu, 10 Nov 2022 22:16:02 -0300 Subject: [PATCH] clematis: init at 2022-04-16 --- pkgs/tools/misc/clematis/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/misc/clematis/default.nix diff --git a/pkgs/tools/misc/clematis/default.nix b/pkgs/tools/misc/clematis/default.nix new file mode 100644 index 000000000000..c1997876aee9 --- /dev/null +++ b/pkgs/tools/misc/clematis/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "clematis"; + version = "2022-04-16"; + + src = fetchFromGitHub { + owner = "TorchedSammy"; + repo = "clematis"; + rev = "cbe74da084b9d3f6893f53721c27cd0f3a45fe93"; + sha256 = "sha256-TjoXHbY0vUQ2rhwdCJ/s/taRd9/MG0P9HaEw2BOIy/s="; + }; + + vendorSha256 = "sha256-YKu+7LFUoQwCH//URIswiaqa0rmnWZJvuSn/68G3TUA="; + + meta = with lib; { + description = "Discord rich presence for MPRIS music players."; + homepage = "https://github.com/TorchedSammy/Clematis"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ misterio77 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8aca0fa76410..4194dd4d1d9f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1301,6 +1301,8 @@ with pkgs; cidrgrep = callPackage ../tools/text/cidrgrep { }; + clematis = callPackage ../tools/misc/clematis { }; + cope = callPackage ../tools/misc/cope { }; ejson2env = callPackage ../tools/admin/ejson2env { };