python3Packages.gprof2dot: Use buildPythonPackage

and expose as top-level attribute.
This commit is contained in:
Martin Weinelt
2022-10-02 19:06:34 +02:00
parent a2b1eaa063
commit b75d1a480d
2 changed files with 6 additions and 3 deletions
@@ -1,13 +1,14 @@
{ lib
, fetchFromGitHub
, buildPythonApplication
, buildPythonPackage
, python
, graphviz
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "gprof2dot";
version = "2021.02.21";
format = "setuptools";
src = fetchFromGitHub {
owner = "jrfonseca";
@@ -36,6 +37,6 @@ buildPythonApplication rec {
homepage = "https://github.com/jrfonseca/gprof2dot";
description = "Python script to convert the output from many profilers into a dot graph";
license = licenses.lgpl3Plus;
maintainers = [ maintainers.pmiddend ];
maintainers = with maintainers; [ pmiddend ];
};
}