nixpkgs/pkgs/tools/graphics/oxipng/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

24 lines
621 B
Nix

{ lib, stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
version = "9.1.1";
pname = "oxipng";
src = fetchCrate {
inherit version pname;
hash = "sha256-I+1yQQEzhGApvHxPM8W1wySQtDglGp3V4vkwoTd92EU=";
};
cargoHash = "sha256-miXrQVFahz9WYRCduSF5+RSY4j/XNEt8lnSuOohBUFU=";
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
meta = {
homepage = "https://github.com/shssoichiro/oxipng";
description = "Multithreaded lossless PNG compression optimizer";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dywedir ];
mainProgram = "oxipng";
};
}