2018-10-29 16:50:20 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pillow
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydenticon";
|
2018-11-04 10:35:11 +00:00
|
|
|
version = "0.3.1";
|
2018-10-29 16:50:20 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:11 +00:00
|
|
|
sha256 = "2ef363cdd6f4f0193ce62257486027e36884570f6140bbde51de72df321b77f1";
|
2018-10-29 16:50:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pillow mock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/azaghal/pydenticon;
|
|
|
|
description = "Library for generating identicons. Port of Sigil (https://github.com/cupcake/sigil) with enhancements";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|