unipicker: init at unstable-2018-07-10
This commit is contained in:
parent
c17c39cc61
commit
60074da0de
36
pkgs/applications/misc/unipicker/default.nix
Normal file
36
pkgs/applications/misc/unipicker/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, lib, fzf, xclip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "unipicker";
|
||||||
|
version = "unstable-2018-07-10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jeremija";
|
||||||
|
repo = pname;
|
||||||
|
rev = "767571c87cdb1e654408d19fc4db98e5e6725c04";
|
||||||
|
sha256 = "1k4v53pm3xivwg9vq2kndpcmah0yn4679r5jzxvg38bbkfdk86c1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
fzf
|
||||||
|
xclip
|
||||||
|
];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
substituteInPlace unipicker --replace "/etc/unipickerrc" "$out/etc/unipickerrc"
|
||||||
|
substituteInPlace unipickerrc --replace "/usr/local" "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"PREFIX=$(out)"
|
||||||
|
"DESTDIR=$(out)"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A CLI utility for searching unicode characters by description and optionally copying them to clipboard";
|
||||||
|
homepage = "https://github.com/jeremija/unipicker";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ kiyengar ];
|
||||||
|
platforms = with platforms; unix;
|
||||||
|
};
|
||||||
|
}
|
@ -25875,6 +25875,8 @@ in
|
|||||||
|
|
||||||
unigine-valley = callPackage ../applications/graphics/unigine-valley { };
|
unigine-valley = callPackage ../applications/graphics/unigine-valley { };
|
||||||
|
|
||||||
|
unipicker = callPackage ../applications/misc/unipicker { };
|
||||||
|
|
||||||
unison = callPackage ../applications/networking/sync/unison {
|
unison = callPackage ../applications/networking/sync/unison {
|
||||||
ocamlPackages = ocaml-ng.ocamlPackages_4_09;
|
ocamlPackages = ocaml-ng.ocamlPackages_4_09;
|
||||||
enableX11 = config.unison.enableX11 or true;
|
enableX11 = config.unison.enableX11 or true;
|
||||||
|
Loading…
Reference in New Issue
Block a user