ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
23 lines
572 B
Nix
23 lines
572 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, tornado }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snakeviz";
|
|
version = "0.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "18vsaw1wmf903fg21zkk6a9b49gj47g52jm5h52g4iygngjhpx79";
|
|
};
|
|
|
|
# Upstream doesn't run tests from setup.py
|
|
doCheck = false;
|
|
propagatedBuildInputs = [ tornado ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Browser based viewer for profiling data";
|
|
homepage = https://jiffyclub.github.io/snakeviz;
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ nixy ];
|
|
};
|
|
}
|