mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
pythonPackages.nose-cprof: refactor move to python-modules
This commit is contained in:
parent
648a03cc7c
commit
76eea7cf64
25
pkgs/development/python-modules/nose-cprof/default.nix
Normal file
25
pkgs/development/python-modules/nose-cprof/default.nix
Normal file
@ -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;
|
||||
};
|
||||
|
||||
}
|
@ -2989,21 +2989,7 @@ in {
|
||||
|
||||
nosejs = callPackage ../development/python-modules/nosejs { };
|
||||
|
||||
nose-cprof = buildPythonPackage rec {
|
||||
name = "nose-cprof-${version}";
|
||||
version = "0.1.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nose-cprof/${name}.tar.gz";
|
||||
sha256 = "0ayy5mbjly9aa9dkgpz0l06flspnxmnj6wxdl6zr59byrrr8fqhw";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
};
|
||||
nose-cprof = callPackage ../development/python-modules/nose-cprof { };
|
||||
|
||||
nose_warnings_filters = callPackage ../development/python-modules/nose_warnings_filters { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user