depot/third_party/nixpkgs/pkgs/desktops/gnome/misc/gnome-autoar/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

60 lines
1,017 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.3";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "e98HiVU0lqvdw8ljsM5zY4BcDALAJf7d68qsx4cknog=";
};
nativeBuildInputs = [
gobject-introspection
meson
ninja
pkg-config
vala
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
libarchive
glib
];
mesonFlags = [
"-Dvapi=true"
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-autoar";
attrPath = "gnome.gnome-autoar";
};
};
meta = with lib; {
platforms = platforms.linux;
maintainers = teams.gnome.members;
license = licenses.lgpl21Plus;
description = "Library to integrate compressed files management with GNOME";
};
}