forked from mirrors/nixpkgs
pythonPackages.line_profiler: 1.0 -> 2.0
This commit is contained in:
parent
0cd978c615
commit
d9ac6d4d5e
28
pkgs/development/python-modules/line_profiler/default.nix
Normal file
28
pkgs/development/python-modules/line_profiler/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "line_profiler";
|
||||
version = "2.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "739f8ad0e4bcd0cb82e99afc09e00a0351234f6b3f0b1f7f0090a8a2fbbf8381";
|
||||
};
|
||||
|
||||
buildInputs = [ cython ];
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
meta = {
|
||||
description = "Line-by-line profiler";
|
||||
homepage = https://github.com/rkern/line_profiler;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
|
@ -13853,26 +13853,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
line_profiler = buildPythonPackage rec{
|
||||
version = "1.0";
|
||||
name = "line_profiler-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/line_profiler/${name}.tar.gz";
|
||||
sha256 = "a9e0c9ffa814f1215107c86c890afa8e63bec5a37d951f6f9d3668c1df2b1900";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ cython ];
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
meta = {
|
||||
description = "Line-by-line profiler";
|
||||
homepage = https://github.com/rkern/line_profiler;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
};
|
||||
line_profiler = callPackage ../development/python-modules/line_profiler { };
|
||||
|
||||
linode = buildPythonPackage rec {
|
||||
name = "linode-${version}";
|
||||
|
|
Loading…
Reference in a new issue