Compare commits
1 Commits
0335b240b6
...
cb21efbbd8
Author | SHA1 | Date | |
---|---|---|---|
cb21efbbd8 |
36
pkgs/tools/misc/ytarchive/default.nix
Normal file
36
pkgs/tools/misc/ytarchive/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
|
||||||
|
, python3
|
||||||
|
, ffmpeg }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ytarchive";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Kethsar";
|
||||||
|
repo = "ytarchive";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "xT45FF0ztWQXzQgYztl2YKiI2iGJfnCXgCMw8gOmxzM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
python3
|
||||||
|
ffmpeg
|
||||||
|
];
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dm00755 ytarchive.py $out/bin/ytarchive
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Garbage Youtube livestream downloader";
|
||||||
|
homepage = "https://github.com/Kethsar/ytarchive";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = python3.meta.platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -125,5 +125,7 @@ rec {
|
|||||||
python2Packages = pkgs.python2Packages // python2Packages.overlay;
|
python2Packages = pkgs.python2Packages // python2Packages.overlay;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ytarchive = pkgs.callPackage ../tools/misc/ytarchive { };
|
||||||
|
|
||||||
zsh-z = pkgs.callPackage ../shells/zsh/zsh-z { };
|
zsh-z = pkgs.callPackage ../shells/zsh/zsh-z { };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user