159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
59 lines
987 B
Nix
59 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.4";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/gnome-autoar-${version}.tar.xz";
|
|
hash = "sha256-wK++MzvPPLFEGh9XTMjsexuBl3eRRdTt7uKJb9rPw8I=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|