clerk: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 11:35:40 +01:00
parent 34c8e735aa
commit b101b2efcd

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, rofi, mpc_cli, perl, { lib, stdenv, fetchFromGitHub, makeWrapper, rofi, mpc_cli, perl,
util-linux, pythonPackages, libnotify }: util-linux, python3Packages, libnotify }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "clerk-2016-10-14"; name = "clerk-2016-10-14";
@ -12,10 +12,12 @@ stdenv.mkDerivation {
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ pythonPackages.mpd2 ]; buildInputs = [ python3Packages.mpd2 ];
dontBuild = true; dontBuild = true;
strictDeps = true;
installPhase = '' installPhase = ''
DESTDIR=$out PREFIX=/ make install DESTDIR=$out PREFIX=/ make install
wrapProgram $out/bin/clerk \ wrapProgram $out/bin/clerk \