2021-10-01 04:39:42 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2019-09-15 20:35:43 +00:00
|
|
|
, fetchurl
|
2021-10-01 04:39:42 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2019-09-15 20:35:43 +00:00
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, libarchive
|
|
|
|
, vala
|
2016-09-18 19:35:23 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-autoar";
|
2024-09-12 13:21:42 +00:00
|
|
|
version = "0.4.5";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
2019-09-15 20:35:43 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
src = fetchurl {
|
2024-08-20 22:56:55 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor version}/gnome-autoar-${version}.tar.xz";
|
2024-09-12 13:21:42 +00:00
|
|
|
hash = "sha256-g4xTBvw4v6ovI6viQmL0vxV3HjMD+13LdPW5x6YV2r4=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-09-15 20:35:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
2021-10-01 04:39:42 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2019-09-15 20:35:43 +00:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libarchive
|
|
|
|
glib
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-10-01 04:39:42 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dvapi=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = "gnome-autoar";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-02-16 17:58:58 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Library to integrate compressed files management with GNOME";
|
|
|
|
};
|
|
|
|
}
|