Skip to content

Commit

Permalink
oxipng: init at 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkScythe97 authored and fpletz committed Feb 12, 2018
1 parent cb02fae commit b22883c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/tools/graphics/oxipng/default.nix
@@ -0,0 +1,22 @@
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
version = "1.0.0";
name = "oxipng-${version}";

src = fetchFromGitHub {
owner = "shssoichiro";
repo = "oxipng";
rev = "v${version}";
sha256 = "1w3y9qy72sfz6zv1iizp843fd39rf1qfh7b9mllbn5w8w4hd658w";
};

cargoSha256 = "0mj45svb0nly3cl5d1fmm7nh2zswxpgb56g9xnb4cks5186sn5fi";

meta = with stdenv.lib; {
homepage = https://github.com/shssoichiro/oxipng;
description = "A lossless PNG compression optimizer";
license = licenses.mit;
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3970,6 +3970,8 @@ with pkgs;

owncloud-client = libsForQt5.callPackage ../applications/networking/owncloud-client { };

oxipng = callPackage ../tools/graphics/oxipng { };

p2pvc = callPackage ../applications/video/p2pvc {};

p7zip = callPackage ../tools/archivers/p7zip { };
Expand Down

0 comments on commit b22883c

Please sign in to comment.