pythonPackages.itsdangerous: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 23:40:42 -04:00 committed by Frederik Rietdijk
parent 2fb2f7d4e4
commit 202f7192e3
2 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "itsdangerous";
version = "0.24";
src = fetchPypi {
inherit pname version;
sha256 = "06856q6x675ly542ig0plbqcyab6ksfzijlyf1hzhgg3sgwgrcyb";
};
meta = with stdenv.lib; {
description = "Helpers to pass trusted data to untrusted environments and back";
homepage = "https://pypi.python.org/pypi/itsdangerous/";
license = licenses.bsd0;
};
}

View File

@ -1898,19 +1898,7 @@ in {
ipfsapi = callPackage ../development/python-modules/ipfsapi { };
itsdangerous = buildPythonPackage rec {
name = "itsdangerous-0.24";
src = pkgs.fetchurl {
url = "mirror://pypi/i/itsdangerous/${name}.tar.gz";
sha256 = "06856q6x675ly542ig0plbqcyab6ksfzijlyf1hzhgg3sgwgrcyb";
};
meta = {
description = "Helpers to pass trusted data to untrusted environments and back";
homepage = "https://pypi.python.org/pypi/itsdangerous/";
};
};
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
iniparse = buildPythonPackage rec {