diff options
Diffstat (limited to 'pkgs/by-name/gn/gnome-autoar/package.nix')
-rw-r--r-- | pkgs/by-name/gn/gnome-autoar/package.nix | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/by-name/gn/gnome-autoar/package.nix b/pkgs/by-name/gn/gnome-autoar/package.nix new file mode 100644 index 0000000000000..dfbcc24898b5a --- /dev/null +++ b/pkgs/by-name/gn/gnome-autoar/package.nix @@ -0,0 +1,59 @@ +{ 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}/${pname}-${version}.tar.xz"; + 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"; + }; +} |