Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
990 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, setuptools, toml, functiontrace-server,}:
buildPythonPackage rec { pname = "functiontrace"; version = "0.3.10"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-E2MNp3wKb9FEjEQK/vL/XBfScPuAwbWV5JeA9+ujckY="; };
nativeBuildInputs = [ setuptools toml ];
pythonImportsCheck = [ "functiontrace" ];
# `functiontrace` needs `functiontrace-server` in its path. # Technically we also need this when running via a Python import, such as for # `python3 -m functiontrace`, but that's a less common use-case. postFixup = '' wrapProgram $out/bin/functiontrace \ --prefix PATH : ${lib.makeBinPath [ functiontrace-server ]} '';
meta = with lib; { homepage = "https://functiontrace.com"; description = "Python module for Functiontrace"; license = licenses.prosperity30; maintainers = with maintainers; [ mathiassven tehmatt ]; };}