vyper: 0.2.11 -> 0.2.15
(cherry picked from commit 63510151a8590a55efa6ef3984b6f7f62cc6d5c9)
This commit is contained in:
parent
ac9ea0dbd9
commit
6744ef6777
|
@ -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 = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
|
|
||||||
|
# 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 = [
|
||||||
|
|
Loading…
Reference in New Issue