python.pkgs.idna: move expression

This commit is contained in:
Frederik Rietdijk 2017-12-31 11:00:35 +01:00
parent 77437caa02
commit c107ce473a
2 changed files with 21 additions and 16 deletions

View File

@ -0,0 +1,20 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "idna";
version = "2.5";
src = fetchPypi {
inherit pname version;
sha256 = "3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab";
};
meta = {
homepage = "http://github.com/kjd/idna/";
description = "Internationalized Domain Names in Applications (IDNA)";
license = lib.licenses.bsd3;
};
}

View File

@ -3073,22 +3073,7 @@ in {
openidc-client = callPackage ../development/python-modules/openidc-client/default.nix {};
idna = buildPythonPackage rec {
pname = "idna";
version = "2.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab";
};
meta = {
homepage = "http://github.com/kjd/idna/";
description = "Internationalized Domain Names in Applications (IDNA)";
license = "licenses.bsd3";
};
};
idna = callPackage ../development/python-modules/idna { };
mahotas = buildPythonPackage rec {
name = "python-mahotas-${version}";