mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
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`.
29 lines
532 B
Nix
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;
|
|
};
|
|
}
|