helm/packages/adl.nix

34 lines
771 B
Nix
Raw Normal View History

2021-02-28 12:27:08 -08:00
{ lib, stdenv, fetchFromGitHub, my, ... }:
2021-02-09 19:00:17 -08:00
stdenv.mkDerivation {
name = "adl";
2021-02-28 12:27:08 -08:00
src = fetchFromGitHub {
owner = "RaitaroH";
repo = "adl";
rev = "7752e36f92cd6d6f00d4a7eccdde9cf141abb06e";
sha256 = "MmVPh8edSw/h+3uvYbYHQLX/66pY5Yk0v/OCL7RayBE=";
2021-02-09 19:00:17 -08:00
};
buildInputs = with my; [
trackma
anime-downloader
];
phases = "installPhase";
installPhase = ''
mkdir -p $out/bin
cp $src/adl $out/bin/adl
cp ${my.trackma}/bin/trackma $out/bin/trackma
cp ${my.anime-downloader}/bin/anime $out/bin/anime
'';
meta = {
homepage = "https://github.com/RaitaroH/adl";
description = "popcorn anime-downloader + trackma wrapper";
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = [];
};
}