Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 22 lines 597 B view raw
1{ lib, stdenv, fetchCrate, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 version = "8.0.0"; 5 pname = "oxipng"; 6 7 src = fetchCrate { 8 inherit version pname; 9 hash = "sha256-stTwsU9XK3lF4q2sDgb9A1KG1NnhCfVxYWRiBvlmiqQ="; 10 }; 11 12 cargoHash = "sha256-XMIsdv2AHMGs0tDEWe3cfplZU9CbqEkHd7L5eS+V7j0="; 13 14 doCheck = !stdenv.isAarch64 && !stdenv.isDarwin; 15 16 meta = with lib; { 17 homepage = "https://github.com/shssoichiro/oxipng"; 18 description = "A multithreaded lossless PNG compression optimizer"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ dywedir ]; 21 }; 22}