mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
Merge pull request #225502 from StepBroBD/crunchy-cli
crunchy-cli: init at 3.0.0-dev.10
This commit is contained in:
commit
c4ca94c154
44
pkgs/applications/video/crunchy-cli/default.nix
Normal file
44
pkgs/applications/video/crunchy-cli/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -4609,6 +4609,8 @@ 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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user