Merge pull request #273143 from nbraud/pkgs/memtree
memtree: unstable-2023-11-04 → 2023-11-22
This commit is contained in:
commit
47e05d0c58
1 changed files with 6 additions and 9 deletions
|
@ -6,18 +6,19 @@
|
|||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "memtree";
|
||||
version = "unstable-2023-11-04";
|
||||
version = "unstable-2023-11-22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nbraud";
|
||||
repo = "memtree";
|
||||
rev = "093caeef26ee944b5bf4408710f63494e442b5ff";
|
||||
hash = "sha256-j4LqWy7DxeV7pjwnCfpkHwug4p48kux6BM6oDJmvuUo=";
|
||||
rev = "edc09d91dcd72f175d6adc1d08b261dd95cc4fbf";
|
||||
hash = "sha256-YLZm0wjkjaTw/lHY5k4cqPXCgINe+49SGPLZq+eRdI4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
poetry-core
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
|
@ -29,12 +30,7 @@ python3Packages.buildPythonApplication {
|
|||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
python -m pytest -v
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "-v" ];
|
||||
pythonImportChecks = [ "memtree" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
|
@ -45,6 +41,7 @@ python3Packages.buildPythonApplication {
|
|||
description = "Render cgroups tree annotated by memory usage";
|
||||
homepage = "https://github.com/nbraud/memtree";
|
||||
maintainers = with maintainers; [ nicoo ];
|
||||
mainProgram = "memtree";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue