summary refs log tree commit diff
path: root/pkgs/tools/misc/twurl/default.nix
diff options
context:
space:
mode:
authorBrecht Savelkoul <brecht.savelkoul@alumni.lse.ac.uk>2021-07-06 21:16:01 +0200
committerBrecht Savelkoul <brecht.savelkoul@alumni.lse.ac.uk>2021-07-06 21:16:01 +0200
commitb6985b0fbe95a2d20937dbd5b7d30cf67c4181a8 (patch)
treece6028e82244596221b6e8a477923516c9bcfde5 /pkgs/tools/misc/twurl/default.nix
parent99367c36acb6f4698908591bc173b03b0b0e0419 (diff)
downloadnixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar.gz
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar.bz2
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar.lz
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar.xz
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.tar.zst
nixpkgs-b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8.zip
twurl: init at 0.9.6
Twurl gives more low-level access to the Twitter API than the
`t` tool that's already available in nixpkgs right now
Diffstat (limited to 'pkgs/tools/misc/twurl/default.nix')
-rw-r--r--pkgs/tools/misc/twurl/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/misc/twurl/default.nix b/pkgs/tools/misc/twurl/default.nix
new file mode 100644
index 00000000000..dccb67fbaf6
--- /dev/null
+++ b/pkgs/tools/misc/twurl/default.nix
@@ -0,0 +1,17 @@
+{ lib, bundlerApp, bundlerUpdateScript }:
+
+bundlerApp {
+  pname = "twurl";
+  gemdir = ./.;
+  exes = [ "twurl" ];
+
+  passthru.updateScript = bundlerUpdateScript "twurl";
+
+  meta = with lib; {
+    description = "OAuth-enabled curl for the Twitter API";
+    homepage    = "https://github.com/twitter/twurl";
+    license     = "MIT";
+    maintainers = with maintainers; [ brecht ];
+    platforms   = platforms.unix;
+  };
+}