mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
commit
6a768082fd
38
pkgs/development/python-modules/meliae/default.nix
Normal file
38
pkgs/development/python-modules/meliae/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -11652,6 +11652,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
meliae = callPackage ../development/python-modules/meliae {};
|
||||
|
||||
memcached = buildPythonPackage rec {
|
||||
name = "memcached-1.51";
|
||||
|
||||
|
|
Loading…
Reference in a new issue