From 94186e430b3697a0a2e15752c69c5bb562dc5fe2 Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Thu, 18 Nov 2021 10:00:26 -0500 Subject: [PATCH] iqueue: init at 0.1.0 (#139064) Co-authored-by: Sandro --- pkgs/development/libraries/iqueue/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/iqueue/default.nix diff --git a/pkgs/development/libraries/iqueue/default.nix b/pkgs/development/libraries/iqueue/default.nix new file mode 100644 index 000000000000..04fd7202d1d1 --- /dev/null +++ b/pkgs/development/libraries/iqueue/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchurl, pkg-config, libbsd, microsoft_gsl }: + +stdenv.mkDerivation rec { + pname = "iqueue"; + version = "0.1.0"; + src = fetchurl { + url = "https://github.com/twosigma/iqueue/releases/download/v${version}/iqueue-${version}.tar.gz"; + sha256 = "0049fnr02k15gr21adav33swrwxrpbananilnrp63vp5zs5v9m4x"; + }; + + doCheck = true; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libbsd microsoft_gsl ]; + + meta = with lib; { + homepage = "https://github.com/twosigma/iqueue"; + description = "Indexed queue"; + license = licenses.asl20; + platforms = [ "x86_64-linux" ]; + maintainers = [ maintainers.catern ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b97f22a27330..5de60fe4c638 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1046,6 +1046,8 @@ with pkgs; hyper = callPackage ../applications/terminal-emulators/hyper { }; + iqueue = callPackage ../development/libraries/iqueue {}; + iterm2 = callPackage ../applications/terminal-emulators/iterm2 {}; kitty = callPackage ../applications/terminal-emulators/kitty {