aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/py-wmi-client/default.nix
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-03-19 18:50:00 +0800
committerPeter Hoeg <peter@hoeg.com>2019-09-24 10:37:27 +0800
commitffe12af49a1dfa8a9b18cddb665b1b824736493d (patch)
tree53aba7c22a8616a74e10d721536727f7f1a4cc33 /pkgs/tools/networking/py-wmi-client/default.nix
parentf82334b97f70bc4a84494c88a880655c879b6a8e (diff)
py-wmi-client: init at unstable-20160601
Diffstat (limited to 'pkgs/tools/networking/py-wmi-client/default.nix')
-rw-r--r--pkgs/tools/networking/py-wmi-client/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/py-wmi-client/default.nix b/pkgs/tools/networking/py-wmi-client/default.nix
new file mode 100644
index 00000000000..7a277400289
--- /dev/null
+++ b/pkgs/tools/networking/py-wmi-client/default.nix
@@ -0,0 +1,25 @@
+{ lib, pythonPackages, fetchFromGitHub }:
+
+pythonPackages.buildPythonApplication rec {
+ pname = "py-wmi-client";
+ version = "unstable-20160601";
+
+ src = fetchFromGitHub {
+ owner = "dlundgren";
+ repo = pname;
+ rev = "9702b036df85c3e0ecdde84a753b353069f58208";
+ sha256 = "1kd12gi1knqv477f1shzqr0h349s5336vzp3fpfp3xl0b502ld8d";
+ };
+
+ propagatedBuildInputs = with pythonPackages; [ impacket natsort pyasn1 pycrypto ];
+
+ # no tests
+ doCheck = false;
+
+ meta = with lib; {
+ description = "Python WMI Client implementation";
+ homepage = "https://github.com/dlundgren/py-wmi-client";
+ license = licenses.mit;
+ maintainers = with maintainers; [ peterhoeg ];
+ };
+}