libnl-tiny: init at unstable-2022-12-13
This commit is contained in:
parent
e0fbf34964
commit
f3ba738bfe
28
pkgs/os-specific/linux/libnl-tiny/default.nix
Normal file
28
pkgs/os-specific/linux/libnl-tiny/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, lib, fetchgit, cmake, pkg-config }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "libnl-tiny";
|
||||||
|
version = "unstable-2022-12-13";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.openwrt.org/project/libnl-tiny.git";
|
||||||
|
rev = "f5d9b7e4f534a69cbd35c3f150fa6d57b9d631e4";
|
||||||
|
sha256 = "0c5ycsdas8rr5c33gd0mnmm515dq631fmdjn5mp2j1m0j1bk7hc0";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
sed -e 's|''${prefix}/@CMAKE_INSTALL_LIBDIR@|@CMAKE_INSTALL_FULL_LIBDIR@|g' \
|
||||||
|
-e 's|''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@|@CMAKE_INSTALL_FULL_INCLUDEDIR@|g' \
|
||||||
|
-i libnl-tiny.pc.in
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tiny OpenWrt fork of libnl";
|
||||||
|
homepage = "https://git.openwrt.org/?p=project/libnl-tiny.git;a=summary";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ mkg20001 ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -25926,6 +25926,8 @@ with pkgs;
|
||||||
|
|
||||||
libnl = callPackage ../os-specific/linux/libnl { };
|
libnl = callPackage ../os-specific/linux/libnl { };
|
||||||
|
|
||||||
|
libnl-tiny = callPackage ../os-specific/linux/libnl-tiny { };
|
||||||
|
|
||||||
libtraceevent = callPackage ../os-specific/linux/libtraceevent {};
|
libtraceevent = callPackage ../os-specific/linux/libtraceevent {};
|
||||||
|
|
||||||
libtracefs = callPackage ../os-specific/linux/libtracefs {};
|
libtracefs = callPackage ../os-specific/linux/libtracefs {};
|
||||||
|
|
Loading…
Reference in a new issue