summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/bepasty-client-cli
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-05 16:13:10 +0100
committermakefu <github@syntax-fehler.de>2015-11-05 16:19:04 +0100
commit77e36a7a196e378881150b01c370c35625f08946 (patch)
treeed30750b13367adc04579028ed36039e5227d83f /krebs/5pkgs/bepasty-client-cli
parent2e785e6be5516a7df34ce999a8cd03a3e608bd5f (diff)
krebs 5 krebspaste: initial commit
Diffstat (limited to 'krebs/5pkgs/bepasty-client-cli')
-rw-r--r--krebs/5pkgs/bepasty-client-cli/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/krebs/5pkgs/bepasty-client-cli/default.nix b/krebs/5pkgs/bepasty-client-cli/default.nix
new file mode 100644
index 000000000..990f99af6
--- /dev/null
+++ b/krebs/5pkgs/bepasty-client-cli/default.nix
@@ -0,0 +1,22 @@
+{ lib, pkgs, pythonPackages, fetchurl, ... }:
+
+with pythonPackages; buildPythonPackage rec {
+ name = "bepasty-client-cli-${version}";
+ version = "0.3.0";
+ propagatedBuildInputs = [
+ python_magic
+ click
+ requests2
+ ];
+
+ src = fetchurl {
+ url = "https://pypi.python.org/packages/source/b/bepasty-client-cli/bepasty-client-cli-${version}.tar.gz";
+ sha256 = "002kcplyfnmr5pn2ywdfilss0rmbm8wcdzz8hzp03ksy2zr4sdbw";
+ };
+
+ meta = {
+ homepage = https://github.com/bepasty/bepasty-client-cli;
+ description = "CLI client for bepasty-server";
+ license = lib.licenses.bsd2;
+ };
+}