basu: init at 0.2.1
This commit is contained in:
parent
ac925d2c7a
commit
789d16f52d
53
pkgs/development/libraries/basu/default.nix
Normal file
53
pkgs/development/libraries/basu/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, audit
|
||||||
|
, pkg-config
|
||||||
|
, libcap
|
||||||
|
, gperf
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "basu";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~emersion";
|
||||||
|
repo = "basu";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-zIaEIIo8lJeas2gVjMezO2hr8RnMIT7iiCBilZx5lRQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "lib" ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
audit
|
||||||
|
gperf
|
||||||
|
libcap
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
pushd src/basic
|
||||||
|
patchShebangs \
|
||||||
|
generate-cap-list.sh generate-errno-list.sh generate-gperfs.py
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://sr.ht/~emersion/basu";
|
||||||
|
description = "The sd-bus library, extracted from systemd";
|
||||||
|
license = lib.licenses.lgpl21Only;
|
||||||
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
|
@ -1683,6 +1683,8 @@ with pkgs;
|
||||||
|
|
||||||
sdbus-cpp = callPackage ../development/libraries/sdbus-cpp { };
|
sdbus-cpp = callPackage ../development/libraries/sdbus-cpp { };
|
||||||
|
|
||||||
|
basu = callPackage ../development/libraries/basu { };
|
||||||
|
|
||||||
sdlookup = callPackage ../tools/security/sdlookup { };
|
sdlookup = callPackage ../tools/security/sdlookup { };
|
||||||
|
|
||||||
sgrep = callPackage ../tools/text/sgrep { };
|
sgrep = callPackage ../tools/text/sgrep { };
|
||||||
|
|
Loading…
Reference in a new issue