forked from mirrors/nixpkgs
mpc-qt: 2019-06-09 -> 22.02
This commit is contained in:
parent
4c344da29a
commit
d1e5ca2014
|
@ -1,23 +1,16 @@
|
||||||
{ lib, stdenv, mkDerivation, fetchFromGitLab, fetchpatch, pkg-config, qmake, qtx11extras, qttools, mpv }:
|
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, qmake, qtx11extras, qttools, mpv }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "mpc-qt";
|
pname = "mpc-qt";
|
||||||
version = "2019-06-09";
|
version = "22.02";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitHub {
|
||||||
owner = "mpc-qt";
|
owner = "mpc-qt";
|
||||||
repo = "mpc-qt";
|
repo = "mpc-qt";
|
||||||
rev = "2abe6e7fc643068d50522468fe75d614861555ad";
|
rev = "v${version}";
|
||||||
sha256 = "1cis8dl9pm91mpnp696zvwsfp96gkwr8jgs45anbwd7ldw78w4x5";
|
sha256 = "sha256-DRbNDrWnaTT4A0dRFAv9MX/MDwV/rXIw+R8fQJmVN+g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.com/mpc-qt/mpc-qt/-/commit/02f2bc7a22e863a89ba322b9acb61cf1aef23ba0.diff";
|
|
||||||
sha256 = "0khld55i194zgi18d0wch5459lfzzkbfdbl1im8akvq8ks5xijis";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config qmake qttools ];
|
nativeBuildInputs = [ pkg-config qmake qttools ];
|
||||||
|
|
||||||
buildInputs = [ mpv qtx11extras ];
|
buildInputs = [ mpv qtx11extras ];
|
||||||
|
@ -26,7 +19,7 @@ mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Media Player Classic Qute Theater";
|
description = "Media Player Classic Qute Theater";
|
||||||
homepage = "https://gitlab.com/mpc-qt/mpc-qt";
|
homepage = "https://mpc-qt.github.io";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
|
|
Loading…
Reference in a new issue