pythonPackages.pydenticon: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:50:20 -04:00
parent d4cf05070c
commit c5ae2c3047
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 12 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pillow
, mock
}:
buildPythonPackage rec {
pname = "pydenticon";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "035dawcspgjw2rksbnn863s7b0i9ac8cc1nshshvd1l837ir1czp";
};
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;
};
}

View File

@ -4371,18 +4371,7 @@ in {
daemonize = callPackage ../development/python-modules/daemonize { };
pydenticon = buildPythonPackage rec {
name = "pydenticon-${version}";
version = "0.2";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pydenticon/pydenticon-0.2.tar.gz";
sha256 = "035dawcspgjw2rksbnn863s7b0i9ac8cc1nshshvd1l837ir1czp";
};
propagatedBuildInputs = with self; [
pillow mock
];
};
pydenticon = callPackage ../development/python-modules/pydenticon { };
pynac = buildPythonPackage rec {
name = "pynac-${version}";