pythonPackages.python-keyczar: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:05:15 -04:00 committed by Frederik Rietdijk
parent eb90391331
commit bc9a1cda53
2 changed files with 28 additions and 18 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pyasn1
, pycrypto
}:
buildPythonPackage rec {
pname = "python-keyczar";
version = "0.71c";
src = fetchPypi {
inherit pname version;
sha256 = "18mhiwqq6vp65ykmi8x3i5l3gvrvrrr8z2kv11z1rpixmyr7sw1p";
};
buildInputs = [ pyasn1 pycrypto ];
meta = with stdenv.lib; {
description = "Toolkit for safe and simple cryptography";
homepage = https://pypi.python.org/pypi/python-keyczar;
license = licenses.asl20;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}

View file

@ -3411,24 +3411,7 @@ in {
python-simple-hipchat = callPackage ../development/python-modules/python-simple-hipchat {};
python_simple_hipchat = self.python-simple-hipchat;
python_keyczar = buildPythonPackage rec {
name = "python-keyczar-0.71c";
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-keyczar/${name}.tar.gz";
sha256 = "18mhiwqq6vp65ykmi8x3i5l3gvrvrrr8z2kv11z1rpixmyr7sw1p";
};
meta = {
description = "Toolkit for safe and simple cryptography";
homepage = https://pypi.python.org/pypi/python-keyczar;
license = licenses.asl20;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
buildInputs = with self; [ pyasn1 pycrypto ];
};
python_keyczar = callPackage ../development/python-modules/python_keyczar { };
python-language-server = callPackage ../development/python-modules/python-language-server {};