nixpkgs/pkgs/by-name/gn/gnome-autoar/package.nix
Bobby Rong 7625b827ac
gnome-autoar: 0.4.4 → 0.4.5
https://gitlab.gnome.org/GNOME/gnome-autoar/-/compare/0.4.4...0.4.5

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
2024-10-14 20:54:12 +08:00

60 lines
987 B
Nix

{ stdenv
, lib
, fetchurl
, meson
, ninja
, pkg-config
, gnome
, gtk3
, glib
, gobject-introspection
, libarchive
, vala
}:
stdenv.mkDerivation rec {
pname = "gnome-autoar";
version = "0.4.5";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/gnome-autoar-${version}.tar.xz";
hash = "sha256-g4xTBvw4v6ovI6viQmL0vxV3HjMD+13LdPW5x6YV2r4=";
};
nativeBuildInputs = [
gobject-introspection
meson
ninja
pkg-config
vala
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
libarchive
glib
];
mesonFlags = [
"-Dvapi=true"
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-autoar";
};
};
meta = with lib; {
platforms = platforms.linux;
maintainers = teams.gnome.members;
license = licenses.lgpl21Plus;
description = "Library to integrate compressed files management with GNOME";
};
}