rav1e: 0.5.1 -> 0.6.1

This commit is contained in:
Theodore Ni 2022-12-04 18:51:00 -08:00
parent b06dbde24c
commit ca4458830d
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474
2 changed files with 21 additions and 6 deletions

View file

@ -1,20 +1,33 @@
{ lib, rust, stdenv, rustPlatform, fetchCrate, nasm, cargo-c, libiconv }:
{ lib
, rust
, stdenv
, rustPlatform
, fetchCrate
, nasm
, cargo-c
, libiconv
, Security
}:
let
rustTargetPlatformSpec = rust.toRustTargetSpec stdenv.hostPlatform;
in rustPlatform.buildRustPackage rec {
pname = "rav1e";
version = "0.5.1";
version = "0.6.1";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-v2i/dMWos+nB3cRDOkROSOPb1ONRosbmp9RDZI2DLeI=";
sha256 = "sha256-70O9/QRADaEYVvZjEfuBOxPF8lCZ138L2fbFWpj3VUw=";
};
cargoSha256 = "sha256-V9QbztkFj3t5yBV+yySysDy3Q6IUY4gNzBL8h23aEg4=";
cargoHash = "sha256-iHOmItooNsGq6iTIb9M5IPXMwYh2nQ03qfjomkgCdgw=";
nativeBuildInputs = [ nasm cargo-c ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
Security
];
checkType = "debug";

View file

@ -5348,7 +5348,9 @@ with pkgs;
rainloop-community
rainloop-standard;
rav1e = callPackage ../tools/video/rav1e { };
rav1e = callPackage ../tools/video/rav1e {
inherit (darwin.apple_sdk.frameworks) Security;
};
raven-reader = callPackage ../applications/networking/newsreaders/raven-reader { };