diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-04-09 18:28:16 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-12 18:46:15 +0000 |
commit | fd2e737e0678ee7d8081baef05b305146a2c0034 (patch) | |
tree | ac3e9b27576a0382335532d126f9a66d486bc638 /nixpkgs/pkgs/applications/misc/udiskie | |
parent | cc207d720b6aa836e256c1ee9842bc739e630a8a (diff) | |
parent | 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2 (diff) | |
download | nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar.gz nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar.bz2 nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar.lz nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar.xz nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.tar.zst nixlib-fd2e737e0678ee7d8081baef05b305146a2c0034.zip |
Merge remote-tracking branch 'nixpkgs/nixos-unstable'
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/udiskie')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/udiskie/default.nix | 57 |
1 files changed, 42 insertions, 15 deletions
diff --git a/nixpkgs/pkgs/applications/misc/udiskie/default.nix b/nixpkgs/pkgs/applications/misc/udiskie/default.nix index 87c49a19a196..d780f9e35d55 100644 --- a/nixpkgs/pkgs/applications/misc/udiskie/default.nix +++ b/nixpkgs/pkgs/applications/misc/udiskie/default.nix @@ -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; { + 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; - homepage = "https://github.com/coldfix/udiskie"; maintainers = with maintainers; [ AndersonTorres ]; }; } |