openspeedrun: init at 0.3.3

pyrox.dev 7e310754 53253907

verified
+46
+46
pkgs/by-name/op/openspeedrun/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + rustPlatform, 5 + wayland, 6 + libxkbcommon, 7 + libGL, 8 + autoPatchelfHook, 9 + }: 10 + 11 + rustPlatform.buildRustPackage (finalAttrs: { 12 + pname = "openspeedrun"; 13 + version = "0.3.3"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "SrWither"; 17 + repo = "OpenSpeedRun"; 18 + tag = "v${finalAttrs.version}"; 19 + hash = "sha256-EZPApXUVhsaOYa6CnpR8IWeEoHEl89KJGGoBOYFqBV0="; 20 + }; 21 + 22 + cargoHash = "sha256-WzsLEfDZpjpUrbyPOr5QUkTMrlAJoC9Rej5BMOKF7OM="; 23 + 24 + nativeBuildInputs = [ 25 + autoPatchelfHook 26 + ]; 27 + 28 + runtimeDependencies = [ 29 + wayland 30 + libxkbcommon 31 + libGL 32 + ]; 33 + 34 + autoPatchelfIgnoreMissingDeps = [ 35 + "libgcc_s.so.1" 36 + ]; 37 + 38 + meta = { 39 + changelog = "https://github.com/SrWither/OpenSpeedRun/releases/tag/v${finalAttrs.version}"; 40 + description = "Modern and minimalistic open-source speedrun timer"; 41 + homepage = "https://github.com/SrWither/OpenSpeedRun"; 42 + license = lib.licenses.bsd3; 43 + maintainers = [ lib.maintainers.pyrox0 ]; 44 + mainProgram = "openspeedrun"; 45 + }; 46 + })