diff --git a/pkgs/development/python-modules/lsi/default.nix b/pkgs/development/python-modules/lsi/default.nix new file mode 100644 index 000000000000..ebf98d9e7b26 --- /dev/null +++ b/pkgs/development/python-modules/lsi/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e5823130a53d..f8281dd18a0b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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}";