linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / meliae / default.nix
blob4c6aa746448e46ab1ac35c55f1da7bec463e9aeb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , cython
5 , isPy3k
6 , simplejson
7 }:
9 buildPythonPackage rec {
10   pname = "meliae";
11   version = "0.4.0";
13   src = fetchPypi {
14     inherit pname;
15     # FIXME when updating to the next version: The tarball on pypi is called
16     # "meliae-0.4.0.tar.gz" while the version within that tarball is
17     # "0.4.0.final.0".
18     version = "0.4.0";
19     sha256 = "976519ab02aaa6a8fb5f596dc4dd9f64fc9510b00e054979566e51c9be7cec99";
20   };
22   disabled = isPy3k;
24   doCheck = true;
26   checkPhase = ''
27     python setup.py build_ext -i
28     python run_tests.py
29   '';
31   checkInputs = [ simplejson ];
33   propagatedBuildInputs = [ cython ];
35   meta = with lib; {
36     description = "Python Memory Usage Analyzer";
37     homepage = "https://launchpad.net/meliae";
38     license = licenses.gpl3;
39     maintainers = with maintainers; [ xvapx ];
40   };