gnome3.gnome-autoar: cleanup

* enable vapi
* multi outputs
* correct Inputs
This commit is contained in:
worldofpeace 2019-09-15 16:35:43 -04:00 committed by Tor Hedin Brønner
parent 8ca630391f
commit 345ef1cfe0

View file

@ -1,11 +1,20 @@
{ stdenv, fetchurl, pkgconfig, gnome3
, gtk3, glib, gobject-introspection, libarchive
{ stdenv
, fetchurl
, pkgconfig
, gnome3
, gtk3
, glib
, gobject-introspection
, libarchive
, vala
}:
stdenv.mkDerivation rec {
pname = "gnome-autoar";
version = "0.2.3";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-autoar/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax";
@ -15,9 +24,20 @@ stdenv.mkDerivation rec {
updateScript = gnome3.updateScript { packageName = "gnome-autoar"; attrPath = "gnome3.gnome-autoar"; };
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk3 glib ];
propagatedBuildInputs = [ libarchive gobject-introspection ];
nativeBuildInputs = [
gobject-introspection
pkgconfig
vala
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
libarchive
glib
];
meta = with stdenv.lib; {
platforms = platforms.linux;