commit 39f7633e1ed2056b222b30f4e95ff5f7924b4831 parent a79d6bbe69feedcf71d988af84fe793328a65cdd Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Sat, 19 Mar 2022 22:58:45 +0300 Add imsg-compat Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/misc/imsg-compat/default.nix | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -284,6 +284,7 @@ lib.makeScope newScope ( glauth = callPackage ./misc/glauth { }; how-to-use-pvs-studio-free = callPackage ./misc/pvs-studio/how-to-use-pvs-studio-free.nix { }; huami-token = callPackage ./misc/huami-token { }; + imsg-compat = callPackage ./misc/imsg-compat { }; ish = callPackage ./misc/ish { }; lazyscraper = callPackage ./misc/lazyscraper { }; libnbcompat = callPackage ./misc/libnbcompat { }; diff --git a/pkgs/misc/imsg-compat/default.nix b/pkgs/misc/imsg-compat/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "imsg-compat"; + version = "6.8.2"; + + src = fetchFromGitHub { + owner = "bsd-ac"; + repo = pname; + rev = version; + hash = "sha256-TFwww3HnTuURVCSMWyaMfwjEWcgGQr1pyPkop6EoHIY="; + }; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "Unofficial port of OpenBSD's imsg utilities"; + inherit (src.meta) homepage; + license = licenses.isc; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}