Merge pull request #280590 from Liassica/add-pio

pio: init at 0.4.0
This commit is contained in:
Janik 2024-02-03 10:55:43 +01:00 committed by GitHub
commit e91397a7ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View File

@ -10673,6 +10673,15 @@
githubId = 1769386;
name = "Liam Diprose";
};
liassica = {
email = "git-commit.jingle869@aleeas.com";
github = "Liassica";
githubId = 115422798;
name = "Liassica";
keys = [{
fingerprint = "83BE 3033 6164 B971 FA82 7036 0D34 0E59 4980 7BDD";
}];
};
liberatys = {
email = "liberatys@hey.com";
name = "Nick Anthony Flueckiger";

View File

@ -0,0 +1,28 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "pio";
version = "0.4.0";
src = fetchFromGitHub {
owner = "siiptuo";
repo = "pio";
rev = version;
hash = "sha256-iR6G+G1UOT1ThLI3yhz3na1HmN6z2qUiI6NSKT0krtY=";
};
cargoHash = "sha256-jVOpk+Z3yEEoDexvxT9I0aVHJKVq47y8km/9ltoqrDA=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Accelerate
];
meta = with lib; {
description = "Utility to compress image files while maintaining quality";
homepage = "https://github.com/siiptuo/pio";
changelog = "https://github.com/siiptuo/pio/blob/${version}/CHANGELOG.md";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ liassica ];
mainProgram = "pio";
};
}