From 3be7f4708db919146ac7b9b5b28d36048db092ac Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 14 Aug 2022 12:37:16 +0100 Subject: [PATCH] pax-utils: 1.3.4 -> 1.3.5 Main change is the switch to meson build system. --- pkgs/os-specific/linux/pax-utils/default.nix | 23 +++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgs/os-specific/linux/pax-utils/default.nix b/pkgs/os-specific/linux/pax-utils/default.nix index 7172aca65f69..f074ab344ab2 100644 --- a/pkgs/os-specific/linux/pax-utils/default.nix +++ b/pkgs/os-specific/linux/pax-utils/default.nix @@ -1,19 +1,30 @@ -{ stdenv, lib, fetchurl, bash, gitUpdater }: +{ stdenv +, lib +, fetchurl +, docbook_xml_dtd_44 +, docbook_xsl +, libcap +, pkg-config +, meson +, ninja +, xmlto + +, gitUpdater +}: stdenv.mkDerivation rec { pname = "pax-utils"; - version = "1.3.4"; + version = "1.3.5"; src = fetchurl { url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz"; - sha256 = "sha256-i67S+cWujgzaG5x1mQhkEBr8ZPrQpGFuEPP/jviRBAs="; + sha256 = "sha256-8KWwPfIwiqLdeq9TuewLK0hFW4YSnkd6FkPeYpBKuHQ="; }; strictDeps = true; - buildInputs = [ bash ]; - - makeFlags = [ "PREFIX=$(out)" ]; + nativeBuildInputs = [ docbook_xml_dtd_44 docbook_xsl meson ninja pkg-config xmlto ]; + buildInputs = [ libcap ]; passthru.updateScript = gitUpdater { inherit pname version;