Merge pull request #173275 from zendo/test

mpc-qt: 2019-06-09 -> 22.02

authored by Artturi and committed by GitHub 6323f3cc 7c035dbb

+6 -13
+6 -13
pkgs/applications/video/mpc-qt/default.nix
··· 1 - { lib, stdenv, mkDerivation, fetchFromGitLab, fetchpatch, pkg-config, qmake, qtx11extras, qttools, mpv }: 1 + { lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtx11extras, qttools, mpv }: 2 2 3 3 mkDerivation rec { 4 4 pname = "mpc-qt"; 5 - version = "2019-06-09"; 5 + version = "22.02"; 6 6 7 - src = fetchFromGitLab { 7 + src = fetchFromGitHub { 8 8 owner = "mpc-qt"; 9 9 repo = "mpc-qt"; 10 - rev = "2abe6e7fc643068d50522468fe75d614861555ad"; 11 - sha256 = "1cis8dl9pm91mpnp696zvwsfp96gkwr8jgs45anbwd7ldw78w4x5"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-DRbNDrWnaTT4A0dRFAv9MX/MDwV/rXIw+R8fQJmVN+g="; 12 12 }; 13 13 14 - patches = [ 15 - (fetchpatch { 16 - url = "https://gitlab.com/mpc-qt/mpc-qt/-/commit/02f2bc7a22e863a89ba322b9acb61cf1aef23ba0.diff"; 17 - sha256 = "0khld55i194zgi18d0wch5459lfzzkbfdbl1im8akvq8ks5xijis"; 18 - }) 19 - ]; 20 - 21 14 nativeBuildInputs = [ pkg-config qmake qttools ]; 22 15 23 16 buildInputs = [ mpv qtx11extras ]; ··· 26 19 27 20 meta = with lib; { 28 21 description = "Media Player Classic Qute Theater"; 29 - homepage = "https://gitlab.com/mpc-qt/mpc-qt"; 22 + homepage = "https://mpc-qt.github.io"; 30 23 license = licenses.gpl2; 31 24 platforms = platforms.unix; 32 25 broken = stdenv.isDarwin;