Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / powerline-mem-segment / default.nix
blob7bc38f2227aeefefe86f9c5067cd5fd8d210ea4c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , psutil
5 }:
7 buildPythonPackage rec {
8   pname = "powerline-mem-segment";
9   version = "2.4.1";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "0507zw7g449zk7dcq56adcdp71inbqfdmp6y5yk4x4j7kkp6pii9";
14   };
16   propagatedBuildInputs = [ psutil ];
18   pythonImportsCheck = [ "powerlinemem" ];
20   meta = with lib; {
21     description = "Segment for Powerline showing the current memory usage in percent or absolute values.";
22     homepage = "https://github.com/mKaloer/powerline_mem_segment";
23     license = licenses.asl20;
24     maintainers = with maintainers; [ thomasjm ];
25   };