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`.
18 lines
419 B
Nix
18 lines
419 B
Nix
{ stdenv, fetchPypi, buildPythonPackage }:
|
|
buildPythonPackage rec {
|
|
pname = "redis";
|
|
version = "2.10.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "03vcgklykny0g0wpvqmy8p6azi2s078317wgb2xjv5m2rs9sjb52";
|
|
};
|
|
|
|
# tests require a running redis
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Python client for Redis key-value store";
|
|
homepage = "https://pypi.python.org/pypi/redis/";
|
|
};
|
|
}
|