1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/scapy/fix-version-2.patch
2018-03-27 18:27:55 +02:00

16 lines
447 B
Diff

--- a/scapy/__init__.py 2018-03-27 17:38:52.706481269 +0200
+++ b/scapy/__init__.py 2018-03-27 17:39:56.576688890 +0200
@@ -82,9 +82,10 @@
if match:
return "git-archive.dev" + match.group(1)
elif sha1:
- return "git-archive.dev" + sha1
+ return '2.4.0'
else:
- return 'unknown.version'
+ return '2.4.0'
+
VERSION = _version()