git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pycassa: fix build

Use `thrift` 0.9.3 to build. See also https://github.com/pycassa/pycassa/issues/245

commit642f778fb6d77c6814093b83144174170abc547e authorMaximilian Bosch <maximilian@mbosch.me> dateThu 10 Jan 2019, 02:49 (8 years ago) parent5338097
1 file changed+14−1
pkgs/development/python-modules/pycassa/default.nix+14−1
pkgs/development/python-modules/pycassa/default.nix+14−1
@@ -1,5 +1,18 @@
11{ stdenv, buildPythonPackage, fetchPypi, thrift, isPy3k }:
22
3+let
4+
5+ thrift' = thrift.overridePythonAttrs (old: rec {
6+ version = "0.9.3";
7+ src= fetchPypi {
8+ inherit (old) pname;
9+ inherit version;
10+ sha256 = "0zl7cgckqy9j5vq8wyfzw82q1blkdpsblnmhv8c6ffcxs4xkvg6z";
11+ };
12+ });
13+
14+in
15+
316buildPythonPackage rec {
417 pname = "pycassa";
518 version = "1.11.2";
@@ -15,7 +28,7 @@ buildPythonPackage rec {
1528 # running
1629 doCheck = false;
1730
18− propagatedBuildInputs = [ thrift ];
31+ propagatedBuildInputs = [ thrift' ];
1932
2033 meta = {
2134 description = "A python client library for Apache Cassandra";