about summary refs log tree commit diff
path: root/pkgs/applications/networking/protocol
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-02-11 10:25:38 +0900
committerMatthieu Coudron <mattator@gmail.com>2018-02-19 07:04:16 +0900
commit88dae1a1c8e37029dd678f901962d1588a2ed39b (patch)
tree4e652dd27270412ed610469a15d58167040db807 /pkgs/applications/networking/protocol
parent327a84749ed48a20736fdf20b9dd4f5723b01912 (diff)
protocol: module to application
protocol really is a "buildPythonApplication" rather than a
buildPythonPackage".
Diffstat (limited to 'pkgs/applications/networking/protocol')
-rw-r--r--pkgs/applications/networking/protocol/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/networking/protocol/default.nix b/pkgs/applications/networking/protocol/default.nix
new file mode 100644
index 0000000000000..305aceec62b51
--- /dev/null
+++ b/pkgs/applications/networking/protocol/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonApplication, fetchFromGitHub }:
+
+buildPythonApplication 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 ];
+  };
+}