nixpkgs/pkgs/development/python-modules/nose-cprof/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
531 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "nose-cprof";
version = "0.2.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0178834759b63dc50388444d4ff8d1ae84e1ba110bb167419afee6bf4699b119";
};
buildInputs = [ nose ];
meta = with lib; {
description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler";
homepage = "https://github.com/msherry/nose-cprof";
license = licenses.bsd0;
};
}