udiskie: 2.2.0 -> 2.3.2

This commit is contained in:
AndersonTorres 2021-03-02 17:51:32 -03:00
parent e763719a20
commit 3d3e3f36ee
2 changed files with 44 additions and 17 deletions

View file

@ -1,37 +1,50 @@
{ lib, fetchFromGitHub, asciidoc-full, gettext
, gobject-introspection, gtk3, libappindicator-gtk3, libnotify, librsvg
, udisks2, wrapGAppsHook
, python3Packages
{ lib
, fetchFromGitHub
, asciidoc-full
, buildPythonApplication
, docopt
, gettext
, gobject-introspection
, gtk3
, keyutils
, libappindicator-gtk3
, libnotify
, librsvg
, nose
, pygobject3
, pyyaml
, udisks2
, wrapGAppsHook
}:
python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "udiskie";
version = "2.2.0";
version = "2.3.2";
src = fetchFromGitHub {
owner = "coldfix";
repo = "udiskie";
rev = version;
sha256 = "0kn5w6bm3rmbszphzbxpjfnkawb2naa230svzkpmh3n6dcdvk4qa";
rev = "v${version}";
hash = "sha256-eucAFMzLf2RfMfVgFTfPAgVNpDADddvTUZQO/XbBhGo=";
};
nativeBuildInputs = [
asciidoc-full # Man page
gettext
asciidoc-full # For building man page.
gobject-introspection
wrapGAppsHook
];
buildInputs = [
librsvg # required for loading svg icons (udiskie uses svg icons)
gobject-introspection
libnotify
gtk3
udisks2
libappindicator-gtk3
libnotify
librsvg # Because it uses SVG icons
udisks2
];
propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = [
docopt
pygobject3
pyyaml
@ -44,7 +57,7 @@ python3Packages.buildPythonApplication rec {
cp -v doc/udiskie.8 $out/share/man/man8/
'';
checkInputs = with python3Packages; [
checkInputs = [
nose
keyutils
];
@ -54,9 +67,23 @@ python3Packages.buildPythonApplication rec {
'';
meta = with lib; {
description = "Removable disk automounter for udisks";
license = licenses.mit;
homepage = "https://github.com/coldfix/udiskie";
description = "Removable disk automounter for udisks";
longDescription = ''
udiskie is a udisks2 front-end that allows to manage removeable media such
as CDs or flash drives from userspace.
Its features include:
- automount removable media
- notifications
- tray icon
- command line tools for manual un-/mounting
- LUKS encrypted devices
- unlocking with keyfiles (requires udisks 2.6.4)
- loop devices (mounting iso archives)
- password caching (requires python keyutils 0.3)
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}

View file

@ -24906,7 +24906,7 @@ in
udevil = callPackage ../applications/misc/udevil {};
udiskie = callPackage ../applications/misc/udiskie { };
udiskie = python3Packages.callPackage ../applications/misc/udiskie { };
sacc = callPackage ../applications/networking/gopher/sacc { };