1

cyberdrop-dl derivation

This commit is contained in:
2022-08-12 14:03:12 +02:00
parent b173924883
commit 7f3d84600f
4 changed files with 36 additions and 3 deletions

View File

@ -1,14 +1,42 @@
{ lib, fetchPypi, buildPythonPackage }:
{ lib, pkgs }:
buildPythonPackage rec {
let
inherit (pkgs.python310Packages) buildPythonPackage buildPythonApplication fetchPypi;
# This package is not in nixpkgs
gofile-client = buildPythonPackage rec {
version = "1.0.1";
pname = "gofile-client";
src = fetchPypi {
inherit version pname;
sha256 = "1cc54630f1f4cbc09654ded012b4a5cd4992aa6ee67442dbba873edd63d01eff";
};
propagatedBuildInputs = with pkgs.python310Packages; [ requests ];
doCheck = false;
};
in buildPythonApplication rec {
version = "2.30.7";
pname = "cyberdrop-dl";
src = fetchPypi {
inherit pname version;
inherit version pname;
sha256 = "ee6804e8f11aa4e3868996c39af95e18e69c9708f81ea04872f0cde148af1ba6";
};
propagatedBuildInputs = with pkgs.python310Packages; [
aiofiles
aiohttp
beautifulsoup4
certifi
colorama
gofile-client
tqdm
yarl
];
doCheck = false;
meta = with lib; {

View File

@ -2,4 +2,5 @@
{
# vital-synth = pkgs.callPackage ./vital-synth {}; # Kept as an example, don't know if I will fix this or keep using distrho
cyberdrop-dl = pkgs.callPackage ./cyberdrop-dl {};
}

View File

@ -1,5 +1,7 @@
# Has a problem with vertically offset UI, replaced by distrho for now but kept as an example
# TODO: Flake derivation
# Damn I hate this style
{ lib
, stdenv

View File

@ -167,6 +167,8 @@ in rec {
protonmail-bridge
protonvpn-cli
cyberdrop-dl
# Tools
# calibre
# virt-manager # Let's try gnome-boxes while we're at it