58c379c19e
Fixes CVE-2020-36241.
49 lines
934 B
Nix
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";
|
|
};
|
|
}
|