pythonPackages.PyLD: 0.7.2 -> 1.0.5

This commit is contained in:
Henri Bourcereau 2019-09-09 09:33:20 +02:00 committed by worldofpeace
parent 93ab2aedfa
commit 1257c9af4d

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, python, gnugrep }:
{ stdenv, buildPythonPackage, fetchFromGitHub, python, requests, gnugrep }:
let
@ -18,17 +18,19 @@ let
in
buildPythonPackage {
pname = "PyLD";
version = "0.7.2";
buildPythonPackage rec {
pname = "pyld";
version = "1.0.5";
src = fetchFromGitHub {
owner = "digitalbazaar";
repo = "pyld";
rev = "652473f828e9a396d4c1db9addbd294fb7db1797";
sha256 = "1bmpz4s6j7by6l45wwxy7dn7hmrhxc26kbx2hbfy41x29vbjg6j9";
repo = pname;
rev = version;
sha256 = "0z2vkllw8bvzxripwb6l757r7av5qwhzsiy4061gmlhq8z8gq961";
};
propagatedBuildInputs = [ requests ];
# Unfortunately PyLD does not pass all testcases in the JSON-LD corpus. We
# check for at least a minimum amount of successful tests so we know it's not
# getting worse, at least.