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 { lib
, gobject-introspection, gtk3, libappindicator-gtk3, libnotify, librsvg , fetchFromGitHub
, udisks2, wrapGAppsHook , asciidoc-full
, python3Packages , buildPythonApplication
, docopt
, gettext
, gobject-introspection
, gtk3
, keyutils
, libappindicator-gtk3
, libnotify
, librsvg
, nose
, pygobject3
, pyyaml
, udisks2
, wrapGAppsHook
}: }:
python3Packages.buildPythonApplication rec { buildPythonApplication rec {
pname = "udiskie"; pname = "udiskie";
version = "2.2.0"; version = "2.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coldfix"; owner = "coldfix";
repo = "udiskie"; repo = "udiskie";
rev = version; rev = "v${version}";
sha256 = "0kn5w6bm3rmbszphzbxpjfnkawb2naa230svzkpmh3n6dcdvk4qa"; hash = "sha256-eucAFMzLf2RfMfVgFTfPAgVNpDADddvTUZQO/XbBhGo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
asciidoc-full # Man page
gettext gettext
asciidoc-full # For building man page.
gobject-introspection gobject-introspection
wrapGAppsHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
librsvg # required for loading svg icons (udiskie uses svg icons)
gobject-introspection gobject-introspection
libnotify
gtk3 gtk3
udisks2
libappindicator-gtk3 libappindicator-gtk3
libnotify
librsvg # Because it uses SVG icons
udisks2
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = [
docopt docopt
pygobject3 pygobject3
pyyaml pyyaml
@ -44,7 +57,7 @@ python3Packages.buildPythonApplication rec {
cp -v doc/udiskie.8 $out/share/man/man8/ cp -v doc/udiskie.8 $out/share/man/man8/
''; '';
checkInputs = with python3Packages; [ checkInputs = [
nose nose
keyutils keyutils
]; ];
@ -54,9 +67,23 @@ python3Packages.buildPythonApplication rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Removable disk automounter for udisks";
license = licenses.mit;
homepage = "https://github.com/coldfix/udiskie"; 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 ]; maintainers = with maintainers; [ AndersonTorres ];
}; };
} }

View File

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