10 stdenv.mkDerivation (finalAttrs: {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${finalAttrs.version}";
18 hash = "sha256-o2+qtkyu2qcwXpum3KiogyO8D6aY7bRJ6y4FWQKQY/o=";
28 ++ lib.optionals stdenv.hostPlatform.isLinux [
37 ++ lib.optionals stdenv.hostPlatform.isLinux [
42 (lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
48 export QT_QPA_PLATFORM=offscreen
52 broken = stdenv.hostPlatform.isDarwin;
53 changelog = "https://github.com/vimpostor/blobdrop/releases/tag/v${finalAttrs.version}";
54 description = "Drag and drop files directly out of the terminal";
55 homepage = "https://github.com/vimpostor/blobdrop";
56 license = lib.licenses.gpl3Only;
57 mainProgram = "blobdrop";
58 maintainers = with lib.maintainers; [ tomasajt ];
59 platforms = lib.platforms.all;