Compare commits

...

2 Commits

Author SHA1 Message Date
0335b240b6 ytarchive: init at 0.2.2 2021-10-02 13:44:16 +10:00
dependabot[bot]
7edffe7e56
ci: cachix/install-nix-action: 13 -> 14
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-16 17:20:35 +10:00
3 changed files with 39 additions and 1 deletions

View File

@ -38,7 +38,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Install nix
uses: cachix/install-nix-action@v13
uses: cachix/install-nix-action@v14
with:
nix_path: "${{ matrix.nixPath }}"
- name: Show nixpkgs version

View 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;
};
}

View File

@ -125,5 +125,7 @@ rec {
python2Packages = pkgs.python2Packages // python2Packages.overlay;
};
ytarchive = pkgs.callPackage ../tools/misc/ytarchive { };
zsh-z = pkgs.callPackage ../shells/zsh/zsh-z { };
}