Merge pull request #229504 from idlip/dra-cla
dra-cla: init at 2023-03-10
This commit is contained in:
commit
44414a98a9
3 changed files with 53 additions and 0 deletions
|
@ -6612,6 +6612,12 @@
|
|||
github = "Icy-Thought";
|
||||
githubId = 53710398;
|
||||
};
|
||||
idlip = {
|
||||
name = "Dilip";
|
||||
email = "igoldlip@gmail.com";
|
||||
github = "idlip";
|
||||
githubId = 117019901;
|
||||
};
|
||||
idontgetoutmuch = {
|
||||
email = "dominic@steinitz.org";
|
||||
github = "idontgetoutmuch";
|
||||
|
|
45
pkgs/applications/video/dra-cla/default.nix
Normal file
45
pkgs/applications/video/dra-cla/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, gnugrep
|
||||
, gnused
|
||||
, curl
|
||||
, mpv
|
||||
, aria2
|
||||
, ffmpeg
|
||||
, openssl
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "dra-cla";
|
||||
version = "unstable-2023-03-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CoolnsX";
|
||||
repo = "dra-cla";
|
||||
rev = "fd5e43bb32b5bc9013382917d1efacda9c3071a8";
|
||||
hash = "sha256-SMtuflVsxe0PWmzabSDy+vhIN2bTqyiYAT/T1ChY+xY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 dra-cla $out/bin/dra-cla
|
||||
|
||||
wrapProgram $out/bin/dra-cla \
|
||||
--prefix PATH : ${lib.makeBinPath [ gnugrep gnused curl mpv aria2 ffmpeg openssl ]}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/CoolnsX/dra-cla";
|
||||
description = "A cli tool to browse and play korean drama, chinese drama";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ idlip ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -250,6 +250,8 @@ with pkgs;
|
|||
|
||||
ani-cli = callPackage ../applications/video/ani-cli { };
|
||||
|
||||
dra-cla = callPackage ../applications/video/dra-cla { };
|
||||
|
||||
anime-downloader = callPackage ../applications/video/anime-downloader { };
|
||||
|
||||
aocd = with python3Packages; toPythonApplication aocd;
|
||||
|
|
Loading…
Reference in a new issue