nixpkgs/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
Thomas Gerbet 58c379c19e gnome3.gnome-autoar: 0.2.4 -> 0.3.0
Fixes CVE-2020-36241.
2021-02-16 22:41:29 +01:00

49 lines
934 B
Nix

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