diff --git a/pkgs/by-name/cp/cplay-ng/package.nix b/pkgs/by-name/cp/cplay-ng/package.nix index caecd35bed18b..f5eca18966722 100644 --- a/pkgs/by-name/cp/cplay-ng/package.nix +++ b/pkgs/by-name/cp/cplay-ng/package.nix @@ -8,19 +8,25 @@ python3.pkgs.buildPythonApplication rec { pname = "cplay-ng"; - version = "5.2.0"; + version = "5.3.1"; src = fetchFromGitHub { owner = "xi"; repo = "cplay-ng"; rev = version; - hash = "sha256-M9WpB59AWSaGMnGrO37Fc+7O6pVBc2BDAv/BGlPmo8E="; + hash = "sha256-6mphhoLDkGZ2r+elzLlPl3B8fNz3loqrQB8x8276AHI="; }; nativeBuildInputs = [ makeWrapper ]; + build-system = [ + python3.pkgs.setuptools + ]; + + pyproject = true; + postInstall = '' wrapProgram $out/bin/cplay-ng \ --prefix PATH : ${lib.makeBinPath [ mpv pulseaudio ]}