nixpkgs-suyu/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix

48 lines
937 B
Nix

{ stdenv
, fetchurl
, pkgconfig
, gnome3
, gtk3
, glib
, gobject-introspection
, libarchive
, vala
}:
stdenv.mkDerivation rec {
pname = "gnome-autoar";
version = "0.2.4";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-autoar/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-autoar"; attrPath = "gnome3.gnome-autoar"; };
};
nativeBuildInputs = [
gobject-introspection
pkgconfig
vala
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
libarchive
glib
];
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = teams.gnome.members;
license = licenses.lgpl21;
description = "Library to integrate compressed files management with GNOME";
};
}