Merge pull request #233224 from juliusrickert/add-asitop

asitop: init at 0.0.23
This commit is contained in:
Weijia Wang 2023-05-21 19:07:54 +03:00 committed by GitHub
commit 6a603868e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 69 additions and 0 deletions

View file

@ -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";

View file

@ -0,0 +1,27 @@
{ 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 ];
};
}

View file

@ -0,0 +1,32 @@
{ 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 ];
};
}

View file

@ -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 { };

View file

@ -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 { };