nix-config/pkgs/tidal-dl/default.nix
Greg Burd f3fd89af54
A fork of Misterio77 and his standard template.
Many thangs to the hard work and generous availability of:
git@github.com:Misterio77/nix-config.git
2023-09-15 10:53:38 -04:00

44 lines
980 B
Nix

{ lib
, buildPythonPackage
, buildPythonApplication
, fetchPypi
, mutagen
, requests
, colorama
, prettytable
, pycrypto
, pydub
}:
let
aigpy = buildPythonPackage rec {
pname = "aigpy";
version = "2022.7.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1kQced6YdC/wvegqFVhZfej4+4aemGXvKysKjejP13w=";
};
propagatedBuildInputs = [ mutagen requests colorama prettytable pycrypto pydub ];
};
in
buildPythonApplication rec {
pname = "tidal-dl";
version = "2022.10.31.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-b2AAsiI3n2/v6HC37fMI/d8UcxZxsWM+fnWvdajHrOg=";
};
propagatedBuildInputs = [ aigpy ];
meta = with lib; {
homepage = "https://github.com/yaronzz/Tidal-Media-Downloader";
description = "An application that lets you download videos and tracks from Tidal";
license = licenses.asl20;
maintainers = with maintainers; [ misterio77 ];
platforms = platforms.all;
};
}