python.pkgs.python_simple_hipchat: move out of python-packages

This commit is contained in:
Jörg Thalheim 2017-09-10 14:31:30 +01:00
parent 70fe7ed01e
commit cfb64bdbbd
2 changed files with 24 additions and 12 deletions

View file

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, unzip }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "python-simple-hipchat";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0zy6prrj85jjc4xmxgfg8h94j81k6zhfxfffcbvq9b10jis1rgav";
};
buildInputs = [ unzip ];
meta = with stdenv.lib; {
description = "Easy peasy wrapper for HipChat's v1 API";
homepage = https://github.com/kurttheviking/simple-hipchat-py;
license = licenses.mit;
};
}

View file

@ -17822,17 +17822,8 @@ in {
'';
});
python_simple_hipchat = buildPythonPackage rec {
name = "python-simple-hipchat-${version}";
version = "0.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/python-simple-hipchat/python-simple-hipchat-${version}.tar.gz";
sha256 = "0zy6prrj85jjc4xmxgfg8h94j81k6zhfxfffcbvq9b10jis1rgav";
};
buildInputs = [ pkgs.unzip ];
};
python-simple-hipchat = callPackage ../development/python-modules/python-simple-hipchat {}
python_simple_hipchat = python-simple-hipchat;
python_keyczar = buildPythonPackage rec {
name = "python-keyczar-0.71c";
@ -24530,7 +24521,7 @@ EOF
buildInputs = with self; [ nose mock ];
propagatedBuildInputs = with self; [
jinja2 pyyaml redis requests pagerduty
python_simple_hipchat pushbullet
python-simple-hipchat pushbullet
];
patchPhase = "> requirements.txt";