pythonPackages.lsi: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 17:07:52 -04:00 committed by Frederik Rietdijk
parent d1a48cc23e
commit 45bbac9091
2 changed files with 30 additions and 21 deletions

View File

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
, colored
, boto
, pkgs
}:
buildPythonPackage rec {
pname = "lsi";
version = "0.2.2";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0429iilb06yhsmvj3xp6wyhfh1rp4ndxlhwrm80r97z0w7plrk94";
};
propagatedBuildInputs = [ colored boto pkgs.openssh pkgs.which ];
meta = with stdenv.lib; {
description = "CLI for querying and SSHing onto AWS EC2 instances";
homepage = https://github.com/NarrativeScience/lsi;
maintainers = [maintainers.adnelson];
license = licenses.mit;
};
}

View File

@ -2468,27 +2468,7 @@ in {
uncompyle6 = callPackage ../development/python-modules/uncompyle6 { };
lsi = buildPythonPackage rec {
name = "lsi-${version}";
version = "0.2.2";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/l/lsi/${name}.tar.gz";
sha256 = "0429iilb06yhsmvj3xp6wyhfh1rp4ndxlhwrm80r97z0w7plrk94";
};
propagatedBuildInputs = [
self.colored
self.boto
pkgs.openssh
pkgs.which
];
meta = {
description = "CLI for querying and SSHing onto AWS EC2 instances";
homepage = https://github.com/NarrativeScience/lsi;
maintainers = [maintainers.adnelson];
license = licenses.mit;
};
};
lsi = callPackage ../development/python-modules/lsi { };
hkdf = buildPythonPackage rec {
name = "hkdf-${version}";