mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
14 lines
381 B
Diff
14 lines
381 B
Diff
diff --git a/scapy/__init__.py b/scapy/__init__.py
|
|
index d5ad6164..245ce2fb 100644
|
|
--- a/scapy/__init__.py
|
|
+++ b/scapy/__init__.py
|
|
@@ -90,7 +90,7 @@ def _version():
|
|
return 'unknown.version'
|
|
|
|
|
|
-VERSION = __version__ = _version()
|
|
+VERSION = __version__ = "NIXPKGS_SCAPY_VERSION"
|
|
VERSION_MAIN = re.search(r"[0-9.]+", VERSION).group()
|
|
|
|
if __name__ == "__main__":
|