nixpkgs/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
856 B
Nix

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