Merge pull request #225502 from StepBroBD/crunchy-cli

crunchy-cli: init at 3.0.0-dev.10

authored by Sandro and committed by GitHub c4ca94c1 fe6ae4d5

+46
+44
pkgs/applications/video/crunchy-cli/default.nix
··· 1 + { lib 2 + , stdenv 3 + , clangStdenv 4 + , darwin 5 + , xcbuild 6 + , openssl 7 + , pkg-config 8 + , rustPlatform 9 + , fetchFromGitHub 10 + }: 11 + 12 + rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec { 13 + pname = "crunchy-cli"; 14 + version = "3.0.0-dev.10"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "crunchy-labs"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + hash = "sha256-uc19SmVfa5BZYDidlEgV6GNvcm9Dj0mSjdwHP5S+O4A="; 21 + }; 22 + 23 + cargoHash = "sha256-H3D55qMUAF6t45mRbGZl+DORAl1H1a7AOe+lQP0WUUQ="; 24 + 25 + nativeBuildInputs = [ 26 + pkg-config 27 + ] ++ lib.optionals stdenv.isDarwin [ 28 + xcbuild 29 + ]; 30 + 31 + buildInputs = [ 32 + openssl 33 + ] ++ lib.optionals stdenv.isDarwin [ 34 + darwin.apple_sdk.frameworks.Security 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "A pure Rust written Crunchyroll cli client and downloader"; 39 + homepage = "https://github.com/crunchy-labs/crunchy-cli"; 40 + license = with licenses; [ gpl3 ]; 41 + maintainers = with maintainers; [ stepbrobd ]; 42 + }; 43 + } 44 +
+2
pkgs/top-level/all-packages.nix
··· 4609 4609 4610 4610 crunch = callPackage ../tools/security/crunch { }; 4611 4611 4612 + crunchy-cli = callPackage ../applications/video/crunchy-cli { }; 4613 + 4612 4614 crudini = callPackage ../tools/misc/crudini { }; 4613 4615 4614 4616 csv2odf = callPackage ../applications/office/csv2odf { };