nixpkgs/pkgs/development/python-modules/snakeviz/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

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 ];
};
}