summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/opl-pc-tools/default.nix
blob: a670b939a21288a0639a80ec26d2c84a39515eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, meson
, ninja
, qt5
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
  pname = "OPL-PC-Tools";
  version = "3.0";

  src = fetchFromGitHub {
    owner = "brainstream";
    repo = "OPL-PC-Tools";
    rev = version;
    sha256 = "1772j99r7ssf45512z5256142gj2ds9mgqv5m8k6hszd5jbnc9qc";
  };

  #dontUseCmakeConfigure = true;
  nativeBuildInputs = [ cmake pkg-config meson ninja 
 wrapQtAppsHook
];
buildInputs = with qt5;[ qtbase 
qttools
];

installPhase = ''
ls -lahtr .
  mkdir -p $out/bin
  cp oplpctools $out/bin/
    '';

  meta = with lib; {
    homepage = "https://github.com/joshkunz/ashuffle";
    description = "Automatic library-wide shuffle for mpd";
    maintainers = [ maintainers.tcbravo ];
    platforms = platforms.unix;
    license = licenses.mit;
  };
}