1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/python-modules/bkcharts/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

29 lines
532 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pandas
}:
buildPythonPackage rec {
pname = "bkcharts";
version = "0.2";
src = fetchPypi {
inherit version pname;
sha256 = "a5eaa8e78853dcecaa46345812e4fabe9cd3b96330ebf0809f640a4a0556d72e";
};
propagatedBuildInputs = [ numpy pandas ];
# Circular test dependency on bokeh
doCheck = false;
meta = {
description = "High level chart types built on top of Bokeh";
homepage = https://github.com/bokeh/bkcharts;
license = lib.licenses.bsd3;
};
}