From 536a40c3d7bfc645bb4e9ff55b35f1d73b05ca64 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Wed, 30 Dec 2020 19:08:07 +0100 Subject: [PATCH] chiaki: 1.3.0 -> 2.0.1 Also switch the upstream repository from github to git.sr.ht, since the project has been moved to sourcehut. Signed-off-by: Rouven Czerwinski --- pkgs/games/chiaki/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix index 27dde97ead7..d703833d452 100644 --- a/pkgs/games/chiaki/default.nix +++ b/pkgs/games/chiaki/default.nix @@ -1,21 +1,20 @@ -{ lib, mkDerivation, fetchFromGitHub -, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkgconfig, protobuf +{ lib, mkDerivation, fetchgit +, cmake, ffmpeg, libopus, qtbase, qtmultimedia, qtsvg, pkg-config, protobuf , python3Packages, SDL2 }: mkDerivation rec { pname = "chiaki"; - version = "1.3.0"; + version = "2.0.1"; - src = fetchFromGitHub { + src = fetchgit { + url = "https://git.sr.ht/~thestr4ng3r/chiaki"; rev = "v${version}"; - owner = "thestr4ng3r"; - repo = "chiaki"; fetchSubmodules = true; - sha256 = "07w7srxxr8zjp91p5n1sqf4j8lljfrm78lz1m15s2nzlm579015h"; + sha256 = "0l532i9j6wmzbxqx7fg69kgfd1zy1r1wlw6f756vpxpgswivi892"; }; nativeBuildInputs = [ - cmake pkgconfig protobuf python3Packages.python python3Packages.protobuf + cmake pkg-config protobuf python3Packages.python python3Packages.protobuf ]; buildInputs = [ ffmpeg libopus qtbase qtmultimedia qtsvg protobuf SDL2 ];