Merge pull request #203911 from fgaz/cplay-ng/init
cplay-ng: init at 5.1.0
This commit is contained in:
commit
c94cdd0978
2 changed files with 50 additions and 0 deletions
48
pkgs/applications/audio/cplay-ng/default.nix
Normal file
48
pkgs/applications/audio/cplay-ng/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, mpv
|
||||||
|
, pulseaudio
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "cplay-ng";
|
||||||
|
version = "5.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "xi";
|
||||||
|
repo = "cplay-ng";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-pmuZ1NgrQKEJLoJEVC9wp5deFWc6DiX5DpnISeOOw4k=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/cplay-ng \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ mpv pulseaudio ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/xi/cplay-ng";
|
||||||
|
description = "Simple curses audio player";
|
||||||
|
longDescription = ''
|
||||||
|
cplay is a minimalist music player with a textual user interface written
|
||||||
|
in Python. It aims to provide a power-user-friendly interface with simple
|
||||||
|
filelist and playlist control.
|
||||||
|
|
||||||
|
Instead of building an elaborate database of your music library, cplay
|
||||||
|
allows you to quickly browse the filesystem and enqueue files,
|
||||||
|
directories, and playlists.
|
||||||
|
|
||||||
|
The original cplay was started by Ulf Betlehem in 1998 and is no longer
|
||||||
|
maintained. This is a rewrite that aims to stay true to the original
|
||||||
|
design while evolving with a shifting environment.
|
||||||
|
'';
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ fgaz ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -27977,6 +27977,8 @@ with pkgs;
|
||||||
|
|
||||||
cozy-drive = callPackage ../applications/networking/cozy-drive {};
|
cozy-drive = callPackage ../applications/networking/cozy-drive {};
|
||||||
|
|
||||||
|
cplay-ng = callPackage ../applications/audio/cplay-ng { };
|
||||||
|
|
||||||
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
|
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
|
||||||
python3Packages = python37Packages;
|
python3Packages = python37Packages;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue