commit 35c3f9ef5d79cd19e5a0d3f2ad5a92a237c1809b
parent a84267338c31266a3312332c639afad7b716ba52
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Wed, 9 Mar 2022 23:10:38 +0300
Add libnbcompat
Diffstat:
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -286,6 +286,7 @@ lib.makeScope newScope (
huami-token = callPackage ./misc/huami-token { };
ish = callPackage ./misc/ish { };
lazyscraper = callPackage ./misc/lazyscraper { };
+ libnbcompat = callPackage ./misc/libnbcompat { };
md2html = callPackage ./misc/md2html { };
miband4 = callPackage ./misc/miband4 { };
morse-talk = callPackage ./misc/morse-talk { };
diff --git a/pkgs/misc/libnbcompat/default.nix b/pkgs/misc/libnbcompat/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+ pname = "libnbcompat";
+ version = "1.0.1";
+
+ src = fetchFromGitHub {
+ owner = "archiecobbs";
+ repo = pname;
+ rev = version;
+ hash = "sha256-DyBLEp5dNYSQgTzdQkGfLdCtX618EbnVy5FmL75BMdU=";
+ };
+
+ nativeBuildInputs = [ autoreconfHook ];
+
+ meta = with lib; {
+ description = "Portable NetBSD-compatibility library";
+ inherit (src.meta) homepage;
+ license = licenses.free;
+ maintainers = [ maintainers.sikmir ];
+ platforms = platforms.linux;
+ skip.ci = true;
+ };
+}