New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protocol: init at 20171226 #33065
protocol: init at 20171226 #33065
Conversation
{ stdenv, buildPythonPackage, fetchFromGitHub }: | ||
|
||
buildPythonPackage rec { | ||
name = "${pname}-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as in name
will be autogenerated from pname/pversion ? I copy/pasted that from python-modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case of buildPython*
, yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the line and force pushed
An ASCII Header Generator for Network Protocols http://www.luismg.com/protocol/ Run with `$ protocol tcp` for instance to see: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source Port | Destination Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Acknowledgment Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Offset| Res. | Flags | Window | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Checksum | Urgent Pointer | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Options | Padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@GrahamcOfBorg build python3Packages.protocol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
Testing Valid Spec 'Field_32:32,Field_16:16,Field_56:56?numbers=0'
Testing Valid Spec 'Field_32:32,Field_16:16,Field_32:32?numbers=0'
Testing Valid Spec 'Field_8:8,Field_8:8,Field_8:8,Field_8:8,Field_12:12,Field_17:17,Field_22:22,Field_8:8,Field_5:5?numbers=0'
Testing Valid Spec 'Field_16:16,Field_8:8,Field_8:8?numbers=0,bits=16'
Testing Valid Spec 'Field_16:16,Field_32:32?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?bits=64'
Testing Valid Spec 'Source Port:16,Destination Port:16,Sequence Number:32,Acknowledgment Number:32,Offset:4,Res.:4,Flags:8,Window:16,Checksum:16,Urgent Pointer:16,Options:24,Padding:8'
Testing Valid Spec 'Field_32:32?numbers=0,startchar=1,endchar=2,oddchar=3,evenchar=4,sepchar=5'
/nix/store/cbbmg69dznwm6jvbv4444wida7a9vawq-python3.6-protocol-20171226
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-darwin
Testing Valid Spec 'Field_32:32,Field_16:16,Field_56:56?numbers=0'
Testing Valid Spec 'Field_32:32,Field_16:16,Field_32:32?numbers=0'
Testing Valid Spec 'Field_8:8,Field_8:8,Field_8:8,Field_8:8,Field_12:12,Field_17:17,Field_22:22,Field_8:8,Field_5:5?numbers=0'
Testing Valid Spec 'Field_16:16,Field_8:8,Field_8:8?numbers=0,bits=16'
Testing Valid Spec 'Field_16:16,Field_32:32?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?bits=64'
Testing Valid Spec 'Source Port:16,Destination Port:16,Sequence Number:32,Acknowledgment Number:32,Offset:4,Res.:4,Flags:8,Window:16,Checksum:16,Urgent Pointer:16,Options:24,Padding:8'
Testing Valid Spec 'Field_32:32?numbers=0,startchar=1,endchar=2,oddchar=3,evenchar=4,sepchar=5'
/nix/store/jdv9fjd0synpfildkh60rm0h2klgx64z-python3.6-protocol-20171226
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: aarch64-linux
Testing Valid Spec 'Field_32:32,Field_16:16,Field_56:56?numbers=0'
Testing Valid Spec 'Field_32:32,Field_16:16,Field_32:32?numbers=0'
Testing Valid Spec 'Field_8:8,Field_8:8,Field_8:8,Field_8:8,Field_12:12,Field_17:17,Field_22:22,Field_8:8,Field_5:5?numbers=0'
Testing Valid Spec 'Field_16:16,Field_8:8,Field_8:8?numbers=0,bits=16'
Testing Valid Spec 'Field_16:16,Field_32:32?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?numbers=0,bits=16'
Testing Valid Spec 'Field_64:64?bits=64'
Testing Valid Spec 'Source Port:16,Destination Port:16,Sequence Number:32,Acknowledgment Number:32,Offset:4,Res.:4,Flags:8,Window:16,Checksum:16,Urgent Pointer:16,Options:24,Padding:8'
Testing Valid Spec 'Field_32:32?numbers=0,startchar=1,endchar=2,oddchar=3,evenchar=4,sepchar=5'
/nix/store/ap6s5f2rwzb5qmfszqk67j7w73nywzmv-python3.6-protocol-20171226
An ASCII Header Generator for Network Protocols http://www.luismg.com/protocol/
Run with
$ protocol tcp
for instance to see:Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)