nixpkgs-suyu/pkgs/development/python-modules/pydenticon/default.nix

26 lines
553 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pillow
, mock
}:
buildPythonPackage rec {
pname = "pydenticon";
2018-11-04 11:35:11 +01:00
version = "0.3.1";
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:11 +01:00
sha256 = "2ef363cdd6f4f0193ce62257486027e36884570f6140bbde51de72df321b77f1";
};
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;
};
}