psrecord: move to pkgs/by-name

Assisted-by: Claude Sonnet 4.6
This commit is contained in:
airone01
2026-05-24 23:51:27 +02:00
parent d678f570f0
commit 773fcd0f36
2 changed files with 12 additions and 12 deletions

View File

@@ -1,27 +1,29 @@
{
lib,
buildPythonApplication,
fetchPypi,
psutil,
matplotlib,
pytest,
python3Packages,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "psrecord";
version = "1.4";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
sha256 = "sha256-WXcYVIi1ZwI5xziVGcqEy5BN3fEQH/825EWJjYcUVLE=";
};
propagatedBuildInputs = [
build-system = with python3Packages; [
setuptools
setuptools-scm
];
propagatedBuildInputs = with python3Packages; [
psutil
matplotlib
];
nativeCheckInputs = [
nativeCheckInputs = with python3Packages; [
pytest
];
@@ -38,4 +40,4 @@ buildPythonApplication rec {
maintainers = with lib.maintainers; [ johnazoidberg ];
mainProgram = "psrecord";
};
}
})

View File

@@ -1851,8 +1851,6 @@ with pkgs;
pixcat = with python3Packages; toPythonApplication pixcat;
psrecord = python3Packages.callPackage ../tools/misc/psrecord { };
remarkable-mouse = python3Packages.callPackage ../applications/misc/remarkable/remarkable-mouse { };
ropgadget = with python3Packages; toPythonApplication ropgadget;