mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
flatpak-builder: 1.0.14 → 1.2.0
- https://github.com/flatpak/flatpak-builder/releases/tag/1.1.1 - https://github.com/flatpak/flatpak-builder/releases/tag/1.1.2 - https://github.com/flatpak/flatpak-builder/releases/tag/1.2.0 Move patches just after src Add debugedit dependency
This commit is contained in:
parent
0bbd6b822e
commit
bd9179343a
@ -21,6 +21,7 @@
|
|||||||
, coreutils
|
, coreutils
|
||||||
, cpio
|
, cpio
|
||||||
, curl
|
, curl
|
||||||
|
, debugedit
|
||||||
, elfutils
|
, elfutils
|
||||||
, flatpak
|
, flatpak
|
||||||
, gitMinimal
|
, gitMinimal
|
||||||
@ -46,44 +47,15 @@ let
|
|||||||
installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder";
|
installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "flatpak-builder";
|
pname = "flatpak-builder";
|
||||||
version = "1.0.14";
|
version = "1.2.0";
|
||||||
|
|
||||||
outputs = [ "out" "doc" "man" "installedTests" ];
|
outputs = [ "out" "doc" "man" "installedTests" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${pname}-${version}.tar.xz";
|
url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-abZa9PY4BBJ1GMVFGE+d/JqTWM3tqr7yseUGI64rjYs=";
|
sha256 = "sha256-38tqPKONYeB3W3CkaatQUoXhKTYUYt8JAE5tQlHCRqg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
autoreconfHook
|
|
||||||
docbook_xml_dtd_412
|
|
||||||
docbook_xml_dtd_42
|
|
||||||
docbook_xml_dtd_43
|
|
||||||
docbook_xsl
|
|
||||||
gettext
|
|
||||||
libxml2
|
|
||||||
libxslt
|
|
||||||
pkg-config
|
|
||||||
xmlto
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
acl
|
|
||||||
bzip2
|
|
||||||
curl
|
|
||||||
elfutils
|
|
||||||
flatpak
|
|
||||||
glib
|
|
||||||
json-glib
|
|
||||||
libcap
|
|
||||||
libdwarf
|
|
||||||
libsoup
|
|
||||||
libxml2
|
|
||||||
libyaml
|
|
||||||
ostree
|
|
||||||
];
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# patch taken from gtk_doc
|
# patch taken from gtk_doc
|
||||||
./respect-xml-catalog-files-var.patch
|
./respect-xml-catalog-files-var.patch
|
||||||
@ -113,8 +85,41 @@ in stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
# TODO: Remove older versions.
|
||||||
|
# https://github.com/flatpak/flatpak-builder/pull/437
|
||||||
|
docbook_xml_dtd_412
|
||||||
|
docbook_xml_dtd_42
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
docbook_xsl
|
||||||
|
gettext
|
||||||
|
libxml2
|
||||||
|
libxslt
|
||||||
|
pkg-config
|
||||||
|
xmlto
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
acl
|
||||||
|
bzip2
|
||||||
|
curl
|
||||||
|
debugedit
|
||||||
|
elfutils
|
||||||
|
flatpak
|
||||||
|
glib
|
||||||
|
json-glib
|
||||||
|
libcap
|
||||||
|
libdwarf
|
||||||
|
libsoup
|
||||||
|
libxml2
|
||||||
|
libyaml
|
||||||
|
ostree
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-installed-tests"
|
"--enable-installed-tests"
|
||||||
|
"--with-system-debugedit"
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -125,6 +130,8 @@ in stdenv.mkDerivation rec {
|
|||||||
# Some scripts used by tests need to use shebangs that are available in Flatpak runtimes.
|
# Some scripts used by tests need to use shebangs that are available in Flatpak runtimes.
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Installed tests
|
# Installed tests
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for file in ${installed_testdir}/{test-builder.sh,test-builder-python.sh}; do
|
for file in ${installed_testdir}/{test-builder.sh,test-builder-python.sh}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user