From 5a4e4e9151517749d68e0e81159e176be71ac35a Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Thu, 23 Dec 2021 15:39:11 +0700 Subject: [PATCH] fq: init at 0.0.2 --- pkgs/development/tools/fq/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/fq/default.nix diff --git a/pkgs/development/tools/fq/default.nix b/pkgs/development/tools/fq/default.nix new file mode 100644 index 000000000000..58bad88a6303 --- /dev/null +++ b/pkgs/development/tools/fq/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGo117Module, fetchFromGitHub }: + +buildGo117Module rec { + pname = "fq"; + version = "0.0.2"; + + src = fetchFromGitHub { + owner = "wader"; + repo = "fq"; + rev = "v${version}"; + sha256 = "sha256-ykjt9MPkN5dgTaY2VhApNt5DKh9TFapMpoHwLdpOKcw="; + }; + + vendorSha256 = "sha256-89rSpxhP35wreo+0AqM+rDICCPchF+yFVvrTtZ2Xwr4="; + + meta = with lib; { + description = "jq for binary formats"; + homepage = "https://github.com/wader/fq"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35df2181c851..458aa2555c5e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5424,6 +5424,8 @@ with pkgs; mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; }; + fq = callPackage ../development/tools/fq { }; + franz = callPackage ../applications/networking/instant-messengers/franz { mkFranzDerivation = callPackage ../applications/networking/instant-messengers/franz/generic.nix { }; };