2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-29 16:50:20 +00:00
|
|
|
, 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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/azaghal/pydenticon";
|
2018-10-29 16:50:20 +00:00
|
|
|
description = "Library for generating identicons. Port of Sigil (https://github.com/cupcake/sigil) with enhancements";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|