Merge pull request #114895 from AndersonTorres/updates

This commit is contained in:
Sandro 2021-03-03 01:08:52 +01:00 committed by GitHub
commit 58927de449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 38 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

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "stella";
version = "6.5.1";
version = "6.5.2";
src = fetchFromGitHub {
owner = "stella-emu";
repo = pname;
rev = version;
sha256 = "2O7pN0xByEbWVL32VZw9191tG+kCMOuivJZRpXssQIw=";
hash = "sha256-CDLMOqSgRx75tjBoLycis/cckCNwgdlb9TRBlD3Dd04=";
};
nativeBuildInputs = [ pkg-config ];
@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
As of its 3.5 release, Stella is officially donationware.
'';
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}

View file

@ -1,15 +1,15 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, buildPythonApplication }:
python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "grc";
version = "1.11.3";
version = "1.12";
format = "other";
src = fetchFromGitHub {
owner = "garabik";
repo = "grc";
rev = "v${version}";
sha256 = "0b3wx9zr7l642hizk93ysbdss7rfymn22b2ykj4kpkf1agjkbv35";
owner = "garabik";
repo = pname;
rev = "v${version}";
sha256 = "sha256-XJj1j6sDt0iL3U6uMbB1j0OfpXRdP+x66gc6sKxrQIA=";
};
postPatch = ''
@ -21,23 +21,20 @@ python3Packages.buildPythonApplication rec {
installPhase = ''
runHook preInstall
./install.sh "$out" "$out"
install -Dm444 -t $out/share/zsh/vendor-completions _grc
runHook postInstall
'';
meta = with lib; {
description = "Yet another colouriser for beautifying your logfiles or output of commands";
homepage = "http://korpus.juls.savba.sk/~garabik/software/grc.html";
license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix;
homepage = "http://korpus.juls.savba.sk/~garabik/software/grc.html";
description = "A generic text colouriser";
longDescription = ''
Generic Colouriser is yet another colouriser (written in Python) for
beautifying your logfiles or output of commands.
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix;
};
}

View file

@ -1344,7 +1344,7 @@ in
gucci = callPackage ../tools/text/gucci { };
grc = callPackage ../tools/misc/grc { };
grc = python3Packages.callPackage ../tools/misc/grc { };
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
SDL = SDL_sixel;
@ -24908,7 +24908,7 @@ in
udevil = callPackage ../applications/misc/udevil {};
udiskie = callPackage ../applications/misc/udiskie { };
udiskie = python3Packages.callPackage ../applications/misc/udiskie { };
sacc = callPackage ../applications/networking/gopher/sacc { };