{ lib , stdenv , fetchFromGitHub , autoreconfHook , libusb1 , sfml }: stdenv.mkDerivation (finalAttrs: { pname = "cutecapture"; version = "1.4.0"; src = fetchFromGitHub { owner = "Gotos"; repo = "cutecapture"; rev = "v${finalAttrs.version}"; hash = "sha256-V8BlZykh9zOTcEypu96Ft9/6CtjsybtD8lBsg9sF5sQ="; }; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ libusb1 sfml ]; postPatch = '' cat > get_version.sh <