pythonPackages.kerberos: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 16:46:00 -04:00 committed by Frederik Rietdijk
parent 63877c6a40
commit 441bf57eca
2 changed files with 25 additions and 16 deletions

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "kerberos";
version = "1.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "11q9jhzdl88jh8jgn7cycq034m36g2ncxds7mr3vqkngpcirkx6n";
};
buildInputs = [ pkgs.kerberos ];
meta = with stdenv.lib; {
description = "Kerberos high-level interface";
homepage = https://pypi.python.org/pypi/kerberos;
license = licenses.asl20;
};
}

@ -5643,22 +5643,7 @@ in {
jsonpath_rw = callPackage ../development/python-modules/jsonpath_rw { };
kerberos = buildPythonPackage rec {
name = "kerberos-1.2.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/k/kerberos/${name}.tar.gz";
sha256 = "11q9jhzdl88jh8jgn7cycq034m36g2ncxds7mr3vqkngpcirkx6n";
};
buildInputs = [ pkgs.kerberos ];
meta = {
description = "Kerberos high-level interface";
homepage = https://pypi.python.org/pypi/kerberos;
license = licenses.asl20;
};
};
kerberos = callPackage ../development/python-modules/kerberos { };
keyring = callPackage ../development/python-modules/keyring { };