cplay-ng: 5.3.1 -> 5.4.0 (#400334)

authored by Peder Bergebakken Sundt and committed by GitHub 0e251085 6f14a180

+11 -16
+11 -16
pkgs/by-name/cp/cplay-ng/package.nix
··· 1 1 { 2 2 lib, 3 - python3, 3 + python3Packages, 4 4 fetchFromGitHub, 5 5 makeWrapper, 6 6 mpv, 7 7 pulseaudio, 8 8 }: 9 9 10 - python3.pkgs.buildPythonApplication rec { 10 + python3Packages.buildPythonApplication rec { 11 11 pname = "cplay-ng"; 12 - version = "5.3.1"; 12 + version = "5.4.0"; 13 + pyproject = true; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "xi"; 16 17 repo = "cplay-ng"; 17 - rev = version; 18 - hash = "sha256-6mphhoLDkGZ2r+elzLlPl3B8fNz3loqrQB8x8276AHI="; 18 + tag = version; 19 + hash = "sha256-ob5wX+Q5XKB/fTYG5phLU61imonpk2A/fk5cg/dfr1Y="; 19 20 }; 20 21 21 - nativeBuildInputs = [ 22 - makeWrapper 23 - ]; 22 + nativeBuildInputs = [ makeWrapper ]; 24 23 25 - build-system = [ 26 - python3.pkgs.setuptools 27 - ]; 28 - 29 - pyproject = true; 24 + build-system = [ python3Packages.setuptools ]; 30 25 31 26 postInstall = '' 32 27 wrapProgram $out/bin/cplay-ng \ ··· 38 33 } 39 34 ''; 40 35 41 - meta = with lib; { 36 + meta = { 42 37 homepage = "https://github.com/xi/cplay-ng"; 43 38 description = "Simple curses audio player"; 44 39 mainProgram = "cplay-ng"; ··· 55 50 maintained. This is a rewrite that aims to stay true to the original 56 51 design while evolving with a shifting environment. 57 52 ''; 58 - license = licenses.gpl2Plus; 59 - maintainers = with maintainers; [ fgaz ]; 53 + license = lib.licenses.gpl2Plus; 54 + maintainers = with lib.maintainers; [ fgaz ]; 60 55 }; 61 56 }