1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

pythonPackages.construct: 2.5.2 -> 2.8.10

This commit is contained in:
Franz Pletz 2017-01-04 09:08:36 +01:00
parent 31ac32a965
commit fa696a3e70
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -4125,15 +4125,22 @@ in {
construct = buildPythonPackage rec {
name = "construct-2.5.2";
name = "construct-${version}";
version = "2.8.10";
src = pkgs.fetchurl {
url = "mirror://pypi/c/construct/${name}.tar.gz";
sha256 = "084h02p0m8lhmlywlwjdg0kd0hd6sz481c96qwcm5wddxrqn4nv6";
src = pkgs.fetchFromGitHub {
owner = "construct";
repo = "construct";
rev = "v${version}";
sha256 = "1xfmmc5pihn3ql9f7blrciy06y2bwczqvkbcpvh96dmgqwc3wys3";
};
propagatedBuildInputs = with self; [ six ];
# Tests fail with the following error on Python 3.5+
# TypeError: not all arguments converted during string formatting
doCheck = pythonOlder "3.5";
meta = {
description = "Powerful declarative parser (and builder) for binary data";
homepage = http://construct.readthedocs.org/;