Merge pull request #122360 from dotlambda/feedbackd-0.0.0+git20210426
feedbackd: unstable-2021-01-25 -> 0.0.0+git20210426
This commit is contained in:
commit
bd53855480
|
@ -1,46 +1,65 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-doc
|
||||||
|
, libxslt
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, vala
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, glib
|
, glib
|
||||||
, gsound
|
, gsound
|
||||||
, libgudev
|
|
||||||
, json-glib
|
, json-glib
|
||||||
, vala
|
, libgudev
|
||||||
, gobject-introspection
|
, dbus
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "feedbackd-unstable";
|
pname = "feedbackd";
|
||||||
version = "2021-01-25";
|
# Not an actual upstream project release,
|
||||||
|
# only a Debian package release that is tagged in the upstream repo
|
||||||
|
version = "0.0.0+git20210426";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "source.puri.sm";
|
domain = "source.puri.sm";
|
||||||
owner = "Librem5";
|
owner = "Librem5";
|
||||||
repo = "feedbackd";
|
repo = "feedbackd";
|
||||||
rev = "v0.0.0+git${builtins.replaceStrings ["-"] [""] version}";
|
rev = "v${version}";
|
||||||
sha256 = "184ag10sfzrka533inv6f38x6z769kq5jj56vdkcm65j5h786w5v";
|
sha256 = "12kdchv11c5ynpv6fbagcx755x5p2kd7acpwjxi9khwdwjsqxlmn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
docbook-xsl-nons
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
libxslt
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapGAppsHook
|
|
||||||
vala
|
vala
|
||||||
gobject-introspection
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
gsound
|
gsound
|
||||||
libgudev
|
|
||||||
json-glib
|
json-glib
|
||||||
|
libgudev
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mesonFlags = [ "-Dgtk_doc=true" "-Dman=true" ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
dbus
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
mkdir -p $out/lib/udev/rules.d
|
||||||
sed "s|/usr/libexec/|$out/libexec/|" < $src/debian/feedbackd.udev > $out/lib/udev/rules.d/90-feedbackd.rules
|
sed "s|/usr/libexec/|$out/libexec/|" < $src/debian/feedbackd.udev > $out/lib/udev/rules.d/90-feedbackd.rules
|
||||||
|
@ -54,4 +73,3 @@ stdenv.mkDerivation rec {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue