nixpkgs/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix

49 lines
930 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
2021-01-16 18:21:50 -08:00
, pkg-config
, gnome3
, gtk3
, glib
, gobject-introspection
, libarchive
, vala
}:
stdenv.mkDerivation rec {
pname = "gnome-autoar";
2019-12-23 06:38:52 -08:00
version = "0.2.4";
outputs = [ "out" "dev" ];
src = fetchurl {
2021-01-15 05:21:58 -08:00
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-12-23 06:38:52 -08:00
sha256 = "0yk56ch46n3wfy633mq31kif9n7v06rlij4vqbsbn6l4z1vw6d0a";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-autoar"; attrPath = "gnome3.gnome-autoar"; };
};
nativeBuildInputs = [
gobject-introspection
2021-01-16 18:21:50 -08:00
pkg-config
vala
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
libarchive
glib
];
meta = with lib; {
platforms = platforms.linux;
maintainers = teams.gnome.members;
license = licenses.lgpl21;
description = "Library to integrate compressed files management with GNOME";
};
}