From 76eea7cf645da588847e64db7cb99852ab1db731 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 17 Oct 2018 01:31:36 -0400 Subject: pythonPackages.nose-cprof: refactor move to python-modules --- .../python-modules/nose-cprof/default.nix | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/nose-cprof/default.nix (limited to 'pkgs/development/python-modules/nose-cprof') diff --git a/pkgs/development/python-modules/nose-cprof/default.nix b/pkgs/development/python-modules/nose-cprof/default.nix new file mode 100644 index 0000000000000..efafd6333dbb4 --- /dev/null +++ b/pkgs/development/python-modules/nose-cprof/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, nose +}: + + +buildPythonPackage rec { + pname = "nose-cprof"; + version = "0.1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "0ayy5mbjly9aa9dkgpz0l06flspnxmnj6wxdl6zr59byrrr8fqhw"; + }; + + buildInputs = [ nose ]; + + meta = with stdenv.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; + }; + +} -- cgit 1.4.1