1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-10 06:26:20 +00:00
nixpkgs/pkgs/applications/video/mpc-qt/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
723 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, qttools, mpv }:
stdenv.mkDerivation rec {
pname = "mpc-qt";
version = "18.08";
src = fetchFromGitHub {
owner = "cmdrkotori";
repo = "mpc-qt";
rev = "v${version}";
sha256 = "1rxlkg3vsrapazdlb1i6c5a1vvf2114bsqwzcm3n2wc5c93yqsna";
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
buildInputs = [ mpv qtx11extras ];
qmakeFlags = [ "QMAKE_LUPDATE=${qttools.dev}/bin/lupdate" ];
meta = with stdenv.lib; {
description = "Media Player Classic Qute Theater";
homepage = https://github.com/cmdrkotori/mpc-qt;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
};
}