nixpkgs/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
Jan Tojnar 5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00

29 lines
852 B
Nix

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