27 lines
525 B
Nix
27 lines
525 B
Nix
{ fetchCrate
|
|
, lib
|
|
, rustPlatform
|
|
|
|
# Dependencies
|
|
, nasm
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cavif";
|
|
version = "1.3.5";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-mj0SyI/n6as6gBdmtSZ5qFr8Z0jlZYE+weCQUBeq4aQ=";
|
|
};
|
|
|
|
cargoHash = "sha256-QMXbZgFDwoHjGQJ8lJ6sOgOdcr5x5bQyGd0lfeyG0Ak=";
|
|
|
|
nativeBuildInputs = [ nasm ];
|
|
|
|
meta = {
|
|
description = "AVIF image creator in pure Rust";
|
|
homepage = "https://github.com/kornelski/cavif-rs";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|