vyper: 0.2.11 -> 0.2.15

This commit is contained in:
Ben Siraphob 2021-06-09 20:47:00 +07:00
parent d905ae22c6
commit 63510151a8

View file

@ -14,20 +14,21 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "vyper"; pname = "vyper";
version = "0.2.11"; version = "0.2.15";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e763561a161c35c03b92a0c176096dd9b4c78ab003c2f08324d443f459b3de84"; sha256 = "sha256-cNnKHVKwIx0miC2VhGYBzcSckTnyWYmjNzW0bEzP4bU=";
}; };
nativeBuildInputs = [ pytest-runner ]; nativeBuildInputs = [ pytest-runner ];
# Replace the dynamic commit hash lookup with the hash from the tag
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace 'asttokens==' 'asttokens>=' \ --replace 'asttokens==' 'asttokens>=' \
--replace 'subprocess.check_output("git rev-parse HEAD".split())' "' '" \ --replace 'subprocess.check_output("git rev-parse HEAD".split())' "' '" \
--replace 'commithash.decode("utf-8").strip()' "'069936fa3fee8646ff362145593128d7ef07da38'" --replace 'commithash.decode("utf-8").strip()' "'6e7dba7a8b5f29762d3470da4f44634b819c808d'"
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [