diff --git a/pkgs/development/python-modules/protocol/default.nix b/pkgs/development/python-modules/protocol/default.nix new file mode 100644 index 000000000000..f8ff177437c3 --- /dev/null +++ b/pkgs/development/python-modules/protocol/default.nix @@ -0,0 +1,20 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub }: + +buildPythonPackage rec { + pname = "protocol"; + version = "20171226"; + + src = fetchFromGitHub { + owner = "luismartingarcia"; + repo = "protocol"; + rev = "d450da7d8a58595d8ef82f1d199a80411029fc7d"; + sha256 = "1g31s2xx0bw8ak5ag1c6mv0p0b8bj5dp3lkk9mxaf2ndj1m1qdkw"; + }; + + meta = with stdenv.lib; { + description = "An ASCII Header Generator for Network Protocols"; + homepage = https://github.com/luismartingarcia/protocol; + license = licenses.gpl3; + maintainers = with maintainers; [ teto ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b1a8fca5c439..669c17694dc7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22384,6 +22384,8 @@ EOF trezor = callPackage ../development/python-modules/trezor { }; + protocol = callPackage ../development/python-modules/protocol { }; + trezor_agent = buildPythonPackage rec{ name = "${pname}-${version}"; pname = "trezor_agent";