pythonPackages.le: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 16:52:40 -04:00 committed by Frederik Rietdijk
parent e5ca5a81a7
commit a6e6018694
2 changed files with 31 additions and 20 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
, simplejson
, psutil
}:
buildPythonPackage rec {
pname = "le";
version = "1.4.29";
src = fetchurl {
url = "https://github.com/logentries/le/archive/v${version}.tar.gz";
sha256 = "d29738937cb6e714b6ec2ae74b66b1983482ffd54b4faa40767af18509521d4c";
};
disabled = isPy3k;
doCheck = false;
propagatedBuildInputs = [ simplejson psutil ];
meta = with stdenv.lib; {
homepage = https://github.com/rapid7/le;
description = "Logentries agent";
license = licenses.mit;
};
}

View File

@ -5678,26 +5678,7 @@ in {
ldaptor = callPackage ../development/python-modules/ldaptor { };
le = buildPythonPackage rec {
name = "le-${version}";
version = "1.4.29";
src = pkgs.fetchurl {
url = "https://github.com/logentries/le/archive/v${version}.tar.gz";
sha256 = "d29738937cb6e714b6ec2ae74b66b1983482ffd54b4faa40767af18509521d4c";
};
disabled = isPy3k;
doCheck = false;
propagatedBuildInputs = with self; [ simplejson psutil ];
meta = {
homepage = "https://github.com/logentries/le";
description = "Logentries agent";
};
};
le = callPackage ../development/python-modules/le { };
lektor = buildPythonPackage rec {
name = "lektor-${version}";