3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/redis/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

19 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/";
};
}