1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2022-06-09 21:58:46 +02:00
parent 9c529749fc
commit 62195b8168
4 changed files with 27 additions and 0 deletions

View file

@ -6,3 +6,4 @@
* [cliclick](https://github.com/BlueM/cliclick)
* [phantomjs](https://github.com/ariya/phantomjs)
* [proximity-sort](https://github.com/jonhoo/proximity-sort)
* [q](https://github.com/natesales/q)

View file

@ -7,4 +7,5 @@ let custom = super.callPackage ./packages.nix { }; in
inherit (custom) cliclick;
inherit (custom) phantomjs;
inherit (custom) proximity-sort;
inherit (custom) q;
}

View file

@ -5,4 +5,5 @@
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
proximity-sort = import ./packages/proximity-sort.nix { inherit system lib pkgs; };
q = import ./packages/q.nix { inherit system lib pkgs; };
}

24
packages/q.nix Normal file
View file

@ -0,0 +1,24 @@
{ system, lib, pkgs }:
pkgs.buildGoModule rec {
pname = "q";
version = "0.8.0";
src = pkgs.fetchFromGitHub {
owner = "natesales";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Fh91SeyXFTXQS1E0w0Lb98mm5gas3xjpo3rSzUGKK1E=";
};
vendorSha256 = "sha256-jBPCZ2vnI6gnRdnKkWzrh8mYwxp3Xfvyd28ZveAYZdc=";
doCheck = false;
meta = with lib; {
description = "A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.";
homepage = "https://github.com/natesales/q";
license = [ licenses.gpl3Only ];
platforms = [ "x86_64-darwin" "aarch64-darwin" ];
};
}