mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +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`.
26 lines
583 B
Nix
26 lines
583 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, thrift, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycassa";
|
|
version = "1.11.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1nsqjzgn6v0rya60dihvbnrnq1zwaxl2qwf0sr08q9qlkr334hr6";
|
|
};
|
|
|
|
disabled = isPy3k;
|
|
|
|
# Tests are not executed since they require a cassandra up and
|
|
# running
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ thrift ];
|
|
|
|
meta = {
|
|
description = "A python client library for Apache Cassandra";
|
|
homepage = https://github.com/pycassa/pycassa;
|
|
license = stdenv.lib.licenses.mit;
|
|
};
|
|
}
|