Unverified Commit 6a603868 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #233224 from juliusrickert/add-asitop

asitop: init at 0.0.23
parents 1dbe7ef7 53c7e7e0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7942,6 +7942,12 @@
    githubId = 1792886;
    name = "Julien Malka";
  };
  juliusrickert = {
    email = "nixpkgs@juliusrickert.de";
    github = "juliusrickert";
    githubId = 5007494;
    name = "Julius Rickert";
  };
  julm = {
    email = "julm+nixpkgs@sourcephile.fr";
    github = "ju1m";
+27 −0
Original line number Diff line number Diff line
{ lib
, python3
}:

python3.pkgs.buildPythonPackage rec {
  pname = "dashing";
  version = "0.1.0";
  format = "setuptools";

  disabled = python3.pythonOlder "3.7";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    hash = "sha256-JRRgjg8pp3Xb0bERFWEhnOg9U8+kuqL+QQH6uE/Vbxs=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    blessed
  ];

  meta = with lib; {
    homepage = "https://github.com/FedericoCeratto/dashing";
    description = "Terminal dashboards for Python";
    license = licenses.gpl3;
    maintainers = with maintainers; [ juliusrickert ];
  };
}
+32 −0
Original line number Diff line number Diff line
{ lib
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "asitop";
  version = "0.0.23";
  format = "setuptools";

  disabled = python3.pythonOlder "3.7";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    hash = "sha256-BNncgQRNAd6Pgur5D1xVQi3LSsijSAYIYvhsuiVyi9Q=";
  };

  # has no tests
  doCheck = false;

  propagatedBuildInputs = with python3.pkgs; [
    dashing
    psutil
  ];

  meta = with lib; {
    homepage = "https://github.com/tlkh/asitop";
    description = "Perf monitoring CLI tool for Apple Silicon";
    platforms = platforms.darwin;
    license = licenses.mit;
    maintainers = with maintainers; [ juliusrickert ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -262,6 +262,8 @@ with pkgs;
  alterx = callPackage ../tools/security/alterx { };
  asitop = pkgs.python3Packages.callPackage ../os-specific/darwin/asitop { };
  asn = callPackage ../applications/networking/asn { };
  asnmap = callPackage ../tools/security/asnmap { };
+2 −0
Original line number Diff line number Diff line
@@ -2277,6 +2277,8 @@ self: super: with self; {

  dash-table = callPackage ../development/python-modules/dash-table { };

  dashing = callPackage ../development/python-modules/dashing { };

  dask = callPackage ../development/python-modules/dask { };

  dask-awkward = callPackage ../development/python-modules/dask-awkward { };