remove extralib
This commit is contained in:
parent
b590911ebd
commit
3bc72b826a
2 changed files with 0 additions and 50 deletions
|
|
@ -71,9 +71,6 @@ let
|
|||
pkgs = pkgs;
|
||||
};
|
||||
cetcd = callPackage ./pkgs/c/cetcd/package.nix {};
|
||||
extralib = callPackage ./pkgs/e/extralib/package.nix {
|
||||
pkgs = pkgs;
|
||||
};
|
||||
in
|
||||
{
|
||||
xbuild = xbuild;
|
||||
|
|
@ -86,5 +83,4 @@ in
|
|||
cetcd = cetcd;
|
||||
libcello_debug = libcello_debug;
|
||||
packcc = packcc_main;
|
||||
extralib = extralib;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
pkgs
|
||||
}:
|
||||
|
||||
let
|
||||
meta = with lib; {
|
||||
description = "Extralib for build X cloud Engine";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
pname = "extralib";
|
||||
version = "0.0.1";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = pname;
|
||||
version = version;
|
||||
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://forgejo@gitea.shenrs.eu/nexa/extralibs.git";
|
||||
rev = "9bd63d624b18049f68acddfd14a64e6d98bbb9fe";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.meson
|
||||
pkgs.ninja
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
cat >$out/lib/pkgconfig/extralibs.pc <<EOF
|
||||
prefix=$out
|
||||
exec_prefix=\''${prefix}
|
||||
libdir=$out/lib
|
||||
includedir=\''${prefix}/include
|
||||
|
||||
Name: ${pname}
|
||||
Description: ${meta.description}
|
||||
Version: ${version}
|
||||
Libs: -L\''${libdir} -lextra
|
||||
Cflags: -I\''${includedir}
|
||||
EOF
|
||||
'';
|
||||
|
||||
inherit meta;
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue