cyberdrop-dl derivation
This commit is contained in:
@ -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";
|
version = "2.30.7";
|
||||||
pname = "cyberdrop-dl";
|
pname = "cyberdrop-dl";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit version pname;
|
||||||
sha256 = "ee6804e8f11aa4e3868996c39af95e18e69c9708f81ea04872f0cde148af1ba6";
|
sha256 = "ee6804e8f11aa4e3868996c39af95e18e69c9708f81ea04872f0cde148af1ba6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pkgs.python310Packages; [
|
||||||
|
aiofiles
|
||||||
|
aiohttp
|
||||||
|
beautifulsoup4
|
||||||
|
certifi
|
||||||
|
colorama
|
||||||
|
gofile-client
|
||||||
|
tqdm
|
||||||
|
yarl
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -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
|
# 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 {};
|
||||||
}
|
}
|
@ -1,5 +1,7 @@
|
|||||||
# Has a problem with vertically offset UI, replaced by distrho for now but kept as an example
|
# 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
|
# Damn I hate this style
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
@ -167,6 +167,8 @@ in rec {
|
|||||||
protonmail-bridge
|
protonmail-bridge
|
||||||
protonvpn-cli
|
protonvpn-cli
|
||||||
|
|
||||||
|
cyberdrop-dl
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
# calibre
|
# calibre
|
||||||
# virt-manager # Let's try gnome-boxes while we're at it
|
# virt-manager # Let's try gnome-boxes while we're at it
|
||||||
|
Reference in New Issue
Block a user