pythonPackages.pydenticon: refactor move to python-modules
This commit is contained in:
parent
d4cf05070c
commit
c5ae2c3047
25
pkgs/development/python-modules/pydenticon/default.nix
Normal file
25
pkgs/development/python-modules/pydenticon/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user