mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
pythonPackages.construct: 2.5.2 -> 2.8.10
This commit is contained in:
parent
31ac32a965
commit
fa696a3e70
1 changed files with 11 additions and 4 deletions
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue