vrrtest: init at 2.1.0

authored by

justinlime and committed by
Anderson Torres
d8247503 0706a28c

+48
+46
pkgs/tools/video/vrrtest/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , zip 6 + , love 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "vrrtest"; 11 + version = "2.1.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "Nixola"; 15 + repo = "VRRTest"; 16 + rev = "v${finalAttrs.version}"; 17 + hash = "sha256-esyD+BpdnB8miUrIjV6P8Lho1xztmhLDnKxdQKW8GXc="; 18 + }; 19 + 20 + nativeBuildInputs = [ makeWrapper ]; 21 + 22 + buildInputs = [ zip ]; 23 + 24 + buildPhase = '' 25 + runHook preBuild 26 + zip -9 -r vrrtest.love . 27 + runHook postBuild 28 + ''; 29 + 30 + installPhase = '' 31 + runHook preInstall 32 + install -Dm444 -t $out/share/ vrrtest.love 33 + makeWrapper ${love}/bin/love $out/bin/vrrtest \ 34 + --add-flags $out/share/vrrtest.love 35 + runHook postInstall 36 + ''; 37 + 38 + meta = with lib; { 39 + description = "Tool testing variable refresh rates"; 40 + homepage = "https://github.com/Nixola/VRRTest"; 41 + license = licenses.zlib; 42 + mainProgram = "vrrtest"; 43 + maintainers = with maintainers; [ justinlime ]; 44 + inherit (love.meta) platforms; 45 + }; 46 + })
+2
pkgs/top-level/all-packages.nix
··· 1988 1988 inherit (darwin.apple_sdk.frameworks) Security; 1989 1989 }; 1990 1990 1991 + vrrtest = callPackage ../tools/video/vrrtest { }; 1992 + 1991 1993 winbox = callPackage ../tools/admin/winbox { 1992 1994 wine = wineWowPackages.staging; 1993 1995 };