From d7dfb068342d4b24070d198cf3599182dd42b54b Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Thu, 23 Jun 2016 23:13:50 +0200
Subject: [PATCH] m 5 bintray-upload:init

---
 5pkgs/bintray-upload/default.nix | 19 +++++++++++++++++++
 5pkgs/default.nix                |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 5pkgs/bintray-upload/default.nix

diff --git a/5pkgs/bintray-upload/default.nix b/5pkgs/bintray-upload/default.nix
new file mode 100644
index 0000000..1e9582c
--- /dev/null
+++ b/5pkgs/bintray-upload/default.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+
+pkgs.python3Packages.buildPythonPackage rec {
+  name = "bintray-upload-${version}";
+  version = "0.1.2";
+  src = pkgs.fetchFromGitHub {
+    owner = "makefu";
+    repo = "bintray-upload";
+    rev = "4e76724";
+    sha256 = "1401saisk98n5wgw73nwh8hb484vayw5c6dlypxc1fp4ybym4zi9";
+  };
+
+  propagatedBuildInputs = with pkgs.python3Packages; [ requests2 ];
+
+  meta = {
+    description = "Simple BinTray utility for uploading packages";
+    license = pkgs.stdenv.lib.licenses.asl20;
+  };
+}
diff --git a/5pkgs/default.nix b/5pkgs/default.nix
index 6d227fa..bb6290a 100644
--- a/5pkgs/default.nix
+++ b/5pkgs/default.nix
@@ -13,7 +13,8 @@ in
     nodemcu-uploader = callPackage ./nodemcu-uploader {};
     tw-upload-plugin = callPackage ./tw-upload-plugin {};
     inherit (callPackage ./devpi {}) devpi-web devpi-server;
-    skytraq-logger = callPackage ./skytraq-logger/ {};
+    skytraq-logger = callPackage ./skytraq-logger {};
     taskserver = callPackage ./taskserver {};
+    bintray-upload = callPackage ./bintray-upload {};
   };
 }