about summary refs log tree commit diff
path: root/pkgs/development/python-modules/wakeonlan
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-02-27 00:41:29 +0800
committerPeter Hoeg <peter@hoeg.com>2018-02-27 01:16:05 +0800
commit88b7830b827db7024d7d1de7bf0058b57a9b819a (patch)
treed60a70a35c9796bc916dc150c552ccab2e108104 /pkgs/development/python-modules/wakeonlan
parent02ba80a3393c3fdeae697a3146dbcc8448b9c4a6 (diff)
wakeonlan: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/wakeonlan')
-rw-r--r--pkgs/development/python-modules/wakeonlan/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/wakeonlan/default.nix b/pkgs/development/python-modules/wakeonlan/default.nix
new file mode 100644
index 0000000000000..3d57000e88987
--- /dev/null
+++ b/pkgs/development/python-modules/wakeonlan/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchPypi, buildPythonPackage }:
+
+buildPythonPackage rec {
+  pname = "wakeonlan";
+  version = "1.0.0";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1snkyc6ph0bnypqs5yjw35mx3f9ij4808r5i06gl2vhn1rfzgyh1";
+  };
+
+  meta = with stdenv.lib; {
+    description = "A small python module for wake on lan";
+    homepage = https://github.com/remcohaszing/pywakeonlan;
+    license = licenses.wtfpl;
+    maintainers = with maintainers; [ peterhoeg ];
+  };
+}