backintime-common: modernize (#531716)

This commit is contained in:
Ryan Hendrickson
2026-07-02 23:31:09 +00:00
committed by GitHub
2 changed files with 25 additions and 4 deletions
+14 -3
View File
@@ -16,6 +16,7 @@
gnugrep,
man,
asciidoctor,
bashNonInteractive,
}:
let
@@ -47,15 +48,25 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-/33Lx62S/9RcqrfJumE6/o3KnAObBa3DcmuGkcOXIQE=";
};
__structuredAttrs = true;
strictDeps = true;
enableParallelBuilding = true;
outputs = [
"out"
"man"
"doc"
];
nativeBuildInputs = [
makeWrapper
gettext
asciidoctor
man
];
buildInputs = [
python'
man
asciidoctor
bashNonInteractive
];
installFlags = [ "DEST=$(out)" ];
@@ -83,7 +94,7 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "'fusermount'" "'${lib.getExe' fuse3 "fusermount3"}'"
substituteInPlace "bitlicense.py" \
--replace-fail "/usr/share/doc" "$out/share/doc" \
--replace-fail "/usr/share/doc" "$doc/share/doc" \
'';
dontAddPrefix = true;
+11 -1
View File
@@ -49,7 +49,6 @@ stdenv.mkDerivation {
version
src
installFlags
meta
dontAddPrefix
;
@@ -105,4 +104,15 @@ stdenv.mkDerivation {
wrapProgram "$out/bin/backintime-qt_polkit" \
--prefix PATH : "${lib.getBin polkit}/bin:$PATH"
'';
meta = {
inherit (backintime-common.meta)
homepage
description
license
maintainers
platforms
longDescription
;
};
}