pythonPackages.itsdangerous: refactor move to python-modules
This commit is contained in:
parent
2fb2f7d4e4
commit
202f7192e3
21
pkgs/development/python-modules/itsdangerous/default.nix
Normal file
21
pkgs/development/python-modules/itsdangerous/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user