package.nix (708B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 xorg, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "ffshot"; 10 version = "1.0.0"; 11 12 __structuredAttrs = true; 13 14 src = fetchFromGitHub { 15 owner = "shinyblink"; 16 repo = "ffshot"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-lPHPwieotSgA6qF3EGDZk+lME0rqglOnEreYLk0/oUY="; 19 }; 20 21 buildInputs = with xorg; [ 22 libxcb 23 xcbutilimage 24 ]; 25 26 installFlags = [ "PREFIX=$(out)" ]; 27 28 meta = { 29 description = "farbfeld screenshot utility"; 30 homepage = "https://github.com/shinyblink/ffshot"; 31 license = lib.licenses.isc; 32 maintainers = [ lib.maintainers.sikmir ]; 33 platforms = lib.platforms.linux; 34 skip.ci = stdenv.isDarwin; 35 }; 36 })
