2022-11-28T09:45:54 flatpak-builder 1.2.2 -> 1.2.3 https://repology.org/metapackage/flatpak-builder/versions
2022-11-28T09:45:56 attrpath: flatpak-builder
2022-11-28T09:45:56 Checking auto update branch...
2022-11-28T09:45:56 No auto update branch exists
2022-11-28T09:46:00 [version]
2022-11-28T09:46:03 [version] updated version and sha256
2022-11-28T09:46:03 [rustCrateVersion]
2022-11-28T09:46:03 [rustCrateVersion] No cargoSha256 found
2022-11-28T09:46:03 [golangModuleVersion]
2022-11-28T09:46:03 [golangModuleVersion] Not a buildGoModule package with vendorSha256
2022-11-28T09:46:03 [updateScript]
2022-11-28T09:46:03 [updateScript] skipping because derivation has no updateScript
2022-11-28T09:46:03
2022-11-28T09:46:03 [quotedUrls]
2022-11-28T09:46:03 [quotedUrls] nothing found to replace
2022-11-28T09:46:03 Diff after rewrites:
diff --git a/pkgs/development/tools/flatpak-builder/default.nix b/pkgs/development/tools/flatpak-builder/default.nix
index 3c831cd9f7b..f11dd3994ac 100644
--- a/pkgs/development/tools/flatpak-builder/default.nix
+++ b/pkgs/development/tools/flatpak-builder/default.nix
@@ -46,13 +46,13 @@ let
installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder";
in stdenv.mkDerivation rec {
pname = "flatpak-builder";
- version = "1.2.2";
+ version = "1.2.3";
outputs = [ "out" "doc" "man" "installedTests" ];
src = fetchurl {
url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${pname}-${version}.tar.xz";
- sha256 = "sha256-if2mjlN8Hp3gI1JpC9icMhenKRZFWNNfNbCPea2E4D4=";
+ sha256 = "sha256-4leCWkf3o+ceMPsPgPLZrG5IAfdG9VLfrw5WTj7jUcg=";
};
patches = [
2022-11-28T09:47:45 Successfully finished processing
2022-11-28T09:47:45 cachix "/nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3"
2022-11-28T09:50:22 [check][nixpkgs-review]
2022-11-28T09:53:16 Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
2022-11-28T09:53:19 Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://repology.org/metapackage/flatpak-builder/versions.
meta.description for flatpak-builder is: "Tool to build flatpaks from source"
meta.homepage for flatpak-builder is: "https://github.com/flatpak/flatpak-builder"
meta.changelog for flatpak-builder is: ""
###### Updates performed
- Version update
###### To inspect upstream changes
- [Release on GitHub](https://github.com/flatpak/flatpak-builder/releases/tag/1.2.3)
- [Compare changes on GitHub](https://github.com/flatpak/flatpak-builder/compare/1.2.2...1.2.3)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 1.2.3 with grep in /nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3
- found 1.2.3 in filename of file in /nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3
---
Rebuild report (if merged into master) (click to expand)
```
1 total rebuild path(s)
1 package rebuild(s)
First fifty rebuilds by attrpath
flatpak-builder
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A flatpak-builder https://github.com/r-ryantm/nixpkgs/archive/5775846a954277f0f98cab1cd5ad4fa33f78f7ae.tar.gz
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3
ls -la /nix/store/kklqf1b86zfgasmwg3lk2xswirqzk4mi-flatpak-builder-1.2.3/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
---
###### Maintainer pings
cc @jtojnar for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
2022-11-28T09:53:21 https://api.github.com/repos/NixOS/nixpkgs/pulls/203429
2022-11-28T23:25:32 flatpak-builder 1.2.2 -> 1.2.3 https://github.com/flatpak/flatpak-builder/releases
2022-11-28T23:25:34 attrpath: flatpak-builder
2022-11-28T23:25:34 Checking auto update branch...
2022-11-28T23:25:34 No auto update branch exists
2022-11-28T23:25:35 Old version 1.2.2" not present in master derivation file with contents: { lib, stdenv
, fetchurl
, substituteAll
, nixosTests
, autoreconfHook
, docbook_xml_dtd_412
, docbook_xml_dtd_42
, docbook_xml_dtd_43
, docbook_xsl
, gettext
, libxml2
, libxslt
, pkg-config
, xmlto
, acl
, breezy
, binutils
, bzip2
, coreutils
, cpio
, curl
, debugedit
, elfutils
, flatpak
, gitMinimal
, glib
, glibcLocales
, gnumake
, gnupg
, gnutar
, json-glib
, libcap
, libsoup
, libyaml
, ostree
, patch
, python2
, rpm
, unzip
}:
let
installed_testdir = "${placeholder "installedTests"}/libexec/installed-tests/flatpak-builder";
installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder";
in stdenv.mkDerivation rec {
pname = "flatpak-builder";
version = "1.2.3";
outputs = [ "out" "doc" "man" "installedTests" ];
src = fetchurl {
url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-4leCWkf3o+ceMPsPgPLZrG5IAfdG9VLfrw5WTj7jUcg=";
};
patches = [
# patch taken from gtk_doc
./respect-xml-catalog-files-var.patch
# Hardcode paths
(substituteAll {
src = ./fix-paths.patch;
brz = "${breezy}/bin/brz";
cp = "${coreutils}/bin/cp";
patch = "${patch}/bin/patch";
tar = "${gnutar}/bin/tar";
unzip = "${unzip}/bin/unzip";
rpm2cpio = "${rpm}/bin/rpm2cpio";
cpio = "${cpio}/bin/cpio";
git = "${gitMinimal}/bin/git";
rofilesfuse = "${ostree}/bin/rofiles-fuse";
strip = "${binutils}/bin/strip";
eustrip = "${elfutils}/bin/eu-strip";
euelfcompress = "${elfutils}/bin/eu-elfcompress";
})
# The test scripts in Flatpak repo were updated so we are basing
# this on our patch for Flatpak 0.99.
(substituteAll {
src = ./fix-test-paths.patch;
inherit glibcLocales;
# FIXME use python3 for tests that rely on python2
# inherit python2;
})
];
nativeBuildInputs = [
autoreconfHook
docbook_xml_dtd_43
docbook_xsl
gettext
libxml2
libxslt
pkg-config
xmlto
];
buildInputs = [
acl
bzip2
curl
debugedit
elfutils
flatpak
glib
json-glib
libcap
libsoup
libxml2
libyaml
ostree
];
configureFlags = [
"--enable-installed-tests"
"--with-system-debugedit"
];
makeFlags = [
"installed_testdir=${installed_testdir}"
"installed_test_metadir=${installed_test_metadir}"
];
# Some scripts used by tests need to use shebangs that are available in Flatpak runtimes.
dontPatchShebangs = true;
enableParallelBuilding = true;
# Installed tests
postFixup = ''
for file in ${installed_testdir}/{test-builder.sh,test-builder-python.sh}; do
patchShebangs $file
done
'';
passthru = {
installedTestsDependencies = [
gnupg
ostree
# FIXME python2
gnumake
];
tests = {
installedTests = nixosTests.installed-tests.flatpak-builder;
};
};
meta = with lib; {
description = "Tool to build flatpaks from source";
homepage = "https://github.com/flatpak/flatpak-builder";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
}