diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-04-18 11:50:18 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-04-18 12:03:46 +0200 |
commit | d9ac6d4d5ebc57a083a5303f6b0a47f1179730db (patch) | |
tree | b8542bd4791d503a2d06b7ed33be67e0d18b3299 /pkgs/development/python-modules/line_profiler | |
parent | 0cd978c615913ec4ac7c32a6067befb435fce309 (diff) |
pythonPackages.line_profiler: 1.0 -> 2.0
Diffstat (limited to 'pkgs/development/python-modules/line_profiler')
-rw-r--r-- | pkgs/development/python-modules/line_profiler/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix new file mode 100644 index 0000000000000..e6d6f1e1d7e61 --- /dev/null +++ b/pkgs/development/python-modules/line_profiler/default.nix @@ -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 ]; + }; +} \ No newline at end of file |