Merge pull request #289144 from marsam/update-crunchy-cli

crunchy-cli: 3.0.0-dev.10 -> 3.2.5
This commit is contained in:
Mario Rodas 2024-02-15 19:30:27 -05:00 committed by GitHub
commit 526f603818
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2403 additions and 47 deletions

View file

@ -1,45 +0,0 @@
{ lib
, stdenv
, clangStdenv
, darwin
, xcbuild
, openssl
, pkg-config
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
pname = "crunchy-cli";
version = "3.0.0-dev.10";
src = fetchFromGitHub {
owner = "crunchy-labs";
repo = pname;
rev = "v${version}";
hash = "sha256-uc19SmVfa5BZYDidlEgV6GNvcm9Dj0mSjdwHP5S+O4A=";
};
cargoHash = "sha256-H3D55qMUAF6t45mRbGZl+DORAl1H1a7AOe+lQP0WUUQ=";
nativeBuildInputs = [
pkg-config
] ++ lib.optionals stdenv.isDarwin [
xcbuild
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "A pure Rust written Crunchyroll cli client and downloader";
homepage = "https://github.com/crunchy-labs/crunchy-cli";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ stepbrobd ];
mainProgram = "crunchy-cli";
};
}

2354
pkgs/by-name/cr/crunchy-cli/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
{ lib
, stdenv
, darwin
, fetchFromGitHub
, openssl
, pkg-config
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "crunchy-cli";
version = "3.2.5";
src = fetchFromGitHub {
owner = "crunchy-labs";
repo = "crunchy-cli";
rev = "v${version}";
hash = "sha256-hzmTwUd+bQwr+5UtXKMalJZUDxOC5nhXNTXbYZN8xtA=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"native-tls-0.2.11" = "sha256-+NeXsxuThKNOzVLBItKcuTAM/0zR/BzJGMKkuq99gBM=";
};
};
nativeBuildInputs = lib.optionals stdenv.isLinux [
pkg-config
];
buildInputs = lib.optionals stdenv.isLinux [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = with lib; {
description = "Command-line downloader for Crunchyroll";
homepage = "https://github.com/crunchy-labs/crunchy-cli";
license = licenses.mit;
maintainers = with maintainers; [ stepbrobd ];
mainProgram = "crunchy-cli";
};
}

View file

@ -4924,8 +4924,6 @@ with pkgs;
crunch = callPackage ../tools/security/crunch { }; crunch = callPackage ../tools/security/crunch { };
crunchy-cli = callPackage ../applications/video/crunchy-cli { };
crudini = callPackage ../tools/misc/crudini { }; crudini = callPackage ../tools/misc/crudini { };
csv2odf = callPackage ../applications/office/csv2odf { }; csv2odf = callPackage ../applications/office/csv2odf { };