1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #30508 from xvapx/meliae-init

meliae: init at 0.4.0
This commit is contained in:
Frederik Rietdijk 2017-10-25 19:46:43 +02:00 committed by GitHub
commit 6a768082fd
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, isPy3k
, simplejson
}:
buildPythonPackage rec {
pname = "meliae";
version = "0.4.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "16gcgjzcjlbfarwlj18fn089bz34kzfw8varbzxsi9ma0amijrcp";
};
disabled = isPy3k;
doCheck = true;
checkPhase = ''
python setup.py build_ext -i
python run_tests.py
'';
checkInputs = [ simplejson ];
propagatedBuildInputs = [ cython ];
meta = with stdenv.lib; {
description = "Python Memory Usage Analyzer";
homepage = http://launchpad.net/meliae;
license = licenses.gpl3;
maintainers = with maintainers; [ xvapx ];
};
}

View file

@ -11652,6 +11652,8 @@ in {
};
};
meliae = callPackage ../development/python-modules/meliae {};
memcached = buildPythonPackage rec {
name = "memcached-1.51";