mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
Merge pull request #270460 from TomaSajt/rofimoji
rofimoji: 6.1.0 -> 6.2.0
This commit is contained in:
commit
9556d58fc9
@ -1,13 +1,11 @@
|
||||
{ buildPythonApplication
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, python3
|
||||
, installShellFiles
|
||||
|
||||
, waylandSupport ? true
|
||||
, x11Support ? true
|
||||
|
||||
, configargparse
|
||||
, rofi
|
||||
, wl-clipboard
|
||||
, wtype
|
||||
@ -15,28 +13,28 @@
|
||||
, xsel
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "rofimoji";
|
||||
version = "6.1.0";
|
||||
format = "pyproject";
|
||||
version = "6.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fdw";
|
||||
repo = "rofimoji";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-eyzdTMLW9nk0x74T/AhvoVSrxXugc1HgNJy8EB5BApE=";
|
||||
rev = version;
|
||||
hash = "sha256-9P9hXBEfq6sqCvb2SfPBNadEoXAdWF3cmcKGEOK+EHE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.poetry-core
|
||||
python3Packages.poetry-core
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
# `rofi` and the `waylandSupport` and `x11Support` dependencies
|
||||
# contain binaries needed at runtime.
|
||||
propagatedBuildInputs = with lib; [ configargparse rofi ]
|
||||
++ optionals waylandSupport [ wl-clipboard wtype ]
|
||||
++ optionals x11Support [ xdotool xsel ];
|
||||
propagatedBuildInputs = [ python3Packages.configargparse rofi ]
|
||||
++ lib.optionals waylandSupport [ wl-clipboard wtype ]
|
||||
++ lib.optionals x11Support [ xdotool xsel ];
|
||||
|
||||
# The 'extractors' sub-module is used for development
|
||||
# and has additional dependencies.
|
||||
@ -52,6 +50,7 @@ buildPythonApplication rec {
|
||||
description = "A simple emoji and character picker for rofi";
|
||||
mainProgram = "rofimoji";
|
||||
homepage = "https://github.com/fdw/rofimoji";
|
||||
changelog = "https://github.com/fdw/rofimoji/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ justinlovinger ];
|
@ -34579,10 +34579,6 @@ with pkgs;
|
||||
|
||||
rofi-systemd = callPackage ../tools/system/rofi-systemd { };
|
||||
|
||||
rofimoji = callPackage ../applications/misc/rofimoji {
|
||||
inherit (python3Packages) buildPythonApplication configargparse;
|
||||
};
|
||||
|
||||
rootlesskit = callPackage ../tools/virtualization/rootlesskit { };
|
||||
|
||||
rsclock = callPackage ../applications/misc/rsclock { };
|
||||
|
Loading…
Reference in New Issue
Block a user