pythonPackages.purepng: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 11:14:35 -04:00
committed by Frederik Rietdijk
parent 4027b73d37
commit d1a868f1fa
2 changed files with 22 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "purepng";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1kcl7a6d7d59360fbz2jwfk6ha6pmqgn396962p4s62j893d2r0d";
};
meta = with stdenv.lib; {
description = "Pure Python library for PNG image encoding/decoding";
homepage = https://github.com/scondo/purepng;
license = licenses.mit;
};
}