summary refs log tree commit diff
path: root/pkgs/applications/misc/toot/default.nix
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-05-01 21:38:35 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-05-02 09:30:26 +0200
commit66c21e72e025ed6bb31104c5067cb355eb6edc9b (patch)
tree52f1bccf223ece8f7e7e88f10438d2c52114708e /pkgs/applications/misc/toot/default.nix
parent146f8af47cfb5b77b6a8e8e04776e658e000e8ae (diff)
downloadnixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar.gz
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar.bz2
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar.lz
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar.xz
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.tar.zst
nixlib-66c21e72e025ed6bb31104c5067cb355eb6edc9b.zip
toot: init at 0.8.0
Diffstat (limited to 'pkgs/applications/misc/toot/default.nix')
-rw-r--r--pkgs/applications/misc/toot/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/misc/toot/default.nix b/pkgs/applications/misc/toot/default.nix
new file mode 100644
index 000000000000..5a3be423cd2f
--- /dev/null
+++ b/pkgs/applications/misc/toot/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, pythonPackages }:
+
+pythonPackages.buildPythonApplication rec {
+  version = "0.8.0";
+  name    = "toot-${version}";
+
+  src = fetchFromGitHub {
+    owner  = "ihabunek";
+    repo   = "toot";
+    rev    = "${version}";
+    sha256 = "1y1jz4f53njq94zab0icf7jhd4jp10ywm508l4lw6spb69wr7rdy";
+  };
+
+  propagatedBuildInputs = with pythonPackages;
+    [ requests2 beautifulsoup4 future ];
+
+  meta = with stdenv.lib; {
+    description = "Mastodon CLI interface";
+    homepage    = "https://github.com/ihabunek/toot";
+    license     = licenses.mit;
+    maintainers = [ maintainers.matthiasbeyer ];
+  };
+
+}
+