diff options
author | Kevin Griffin <me@kevin.jp> | 2022-06-27 11:40:21 +0900 |
---|---|---|
committer | Kevin Griffin <me@kevin.jp> | 2022-06-27 11:40:21 +0900 |
commit | aae0476728516c6a2ce78638fbc13436c4f4fa19 (patch) | |
tree | ad0c9fb4ca2496ec9d61bde41917c2051d1793d1 /pkgs/tools/X11/xmcp | |
parent | 192ac79d73d62ef35cad3244faaa3b3a89c62920 (diff) | |
download | nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar.gz nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar.bz2 nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar.lz nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar.xz nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.tar.zst nixlib-aae0476728516c6a2ce78638fbc13436c4f4fa19.zip |
xmcp: move to X11 directory
The lowercase x11 directory was causing errors on macOS machines.
Diffstat (limited to 'pkgs/tools/X11/xmcp')
-rw-r--r-- | pkgs/tools/X11/xmcp/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xmcp/default.nix b/pkgs/tools/X11/xmcp/default.nix new file mode 100644 index 000000000000..178861d63724 --- /dev/null +++ b/pkgs/tools/X11/xmcp/default.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, fetchFromGitHub +, libX11 +}: + +stdenv.mkDerivation rec { + pname = "xmcp"; + version = "unstable-2020-10-10"; + + src = fetchFromGitHub { + owner = "blblapco"; + repo = "xmcp"; + rev = "ee56225f1665f9edc04fe5c165809f2fe160a420"; + sha256 = "sha256-B3YkYrVEg6UJ2ApaVook4N2XvrCboxDMUG5CN9I79Sg="; + }; + + buildInputs = [ libX11 ]; + + installPhase = '' + runHook preInstall + install -Dm0755 xmcp $out/bin/xmcp + runHook postInstall + ''; + + meta = with lib; { + description = "Tiny color picker for X11"; + homepage = "https://github.com/blblapco/xmcp"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ azahi ]; + platforms = platforms.linux; + }; +} |