about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorJeremy Baxter <jtbx@disroot.org>2024-02-05 06:38:08 +1300
committerJeremy Baxter <jtbx@disroot.org>2024-02-05 06:38:08 +1300
commit0821541f6561361706ff0cce830acf24eba3bbc0 (patch)
treed837cc16ce9f1d0cd42fe369bc080cebdb26ecd9 /pkgs/tools/misc
parente8a544f5ffb2b8d0cc1c648eeb74dd4a8ff42205 (diff)
downloadnixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar.gz
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar.bz2
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar.lz
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar.xz
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.tar.zst
nixlib-0821541f6561361706ff0cce830acf24eba3bbc0.zip
farge: migrate to pkgs/by-name
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/farge/default.nix57
1 files changed, 0 insertions, 57 deletions
diff --git a/pkgs/tools/misc/farge/default.nix b/pkgs/tools/misc/farge/default.nix
deleted file mode 100644
index 1abffc64e026..000000000000
--- a/pkgs/tools/misc/farge/default.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, makeBinaryWrapper
-, bc
-, libnotify
-, feh
-, grim
-, imagemagick
-, slurp
-, wl-clipboard
-, xcolor
-, waylandSupport ? true
-, x11Support ? true
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname = "farge";
-  version = "1.0.9";
-
-  src = fetchFromGitHub {
-    owner = "sdushantha";
-    repo = "farge";
-    rev = "2ff6669e2350644d4f0b1bd84526efe5eae3c302";
-    hash = "sha256-vCMuFMGcI4D4EzbSsXeNGKNS6nBFkfTcAmSzb9UMArc=";
-  };
-
-  nativeBuildInputs = [ makeBinaryWrapper ];
-
-  # Ensure the following programs are found within $PATH
-  wrapperPath = lib.makeBinPath ([
-    bc
-    feh
-    #Needed to fix convert: unable to read font `(null)' @ error/annotate.c/RenderFreetype issue
-    (imagemagick.override { ghostscriptSupport = true;})
-    libnotify #Needed for the notify-send function call from the script
-  ] ++ lib.optionals waylandSupport [ grim slurp wl-clipboard ]
-    ++ lib.optionals x11Support [ xcolor ]);
-
-  installPhase = ''
-    runHook preInstall
-    mkdir -p $out/bin
-    install -m755 farge $out/bin
-    wrapProgram $out/bin/farge \
-        --prefix PATH : "${finalAttrs.wrapperPath}"
-    runHook postInstall
-  '';
-
-  meta = with lib; {
-    description = "A tool that shows the color value of a given pixel on your screen";
-    homepage = "https://github.com/sdushantha/farge";
-    license = licenses.mit;
-    platforms = platforms.all;
-    maintainers = with maintainers; [ jtbx justinlime ];
-    mainProgram = "farge";
-  };
-})