diff options
author | Brecht Savelkoul <brecht.savelkoul@alumni.lse.ac.uk> | 2021-07-06 21:16:01 +0200 |
---|---|---|
committer | Brecht Savelkoul <brecht.savelkoul@alumni.lse.ac.uk> | 2021-07-06 21:16:01 +0200 |
commit | b6985b0fbe95a2d20937dbd5b7d30cf67c4181a8 (patch) | |
tree | ce6028e82244596221b6e8a477923516c9bcfde5 /pkgs/tools/misc/twurl | |
parent | 99367c36acb6f4698908591bc173b03b0b0e0419 (diff) | |
download | nixpkgs-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')
-rw-r--r-- | pkgs/tools/misc/twurl/Gemfile | 3 | ||||
-rw-r--r-- | pkgs/tools/misc/twurl/Gemfile.lock | 15 | ||||
-rw-r--r-- | pkgs/tools/misc/twurl/default.nix | 17 | ||||
-rw-r--r-- | pkgs/tools/misc/twurl/gemset.nix | 23 |
4 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/tools/misc/twurl/Gemfile b/pkgs/tools/misc/twurl/Gemfile new file mode 100644 index 00000000000..55b6e9f5650 --- /dev/null +++ b/pkgs/tools/misc/twurl/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem 'twurl' diff --git a/pkgs/tools/misc/twurl/Gemfile.lock b/pkgs/tools/misc/twurl/Gemfile.lock new file mode 100644 index 00000000000..d29268e656d --- /dev/null +++ b/pkgs/tools/misc/twurl/Gemfile.lock @@ -0,0 +1,15 @@ +GEM + remote: https://rubygems.org/ + specs: + oauth (0.5.6) + twurl (0.9.6) + oauth (~> 0.4) + +PLATFORMS + ruby + +DEPENDENCIES + twurl + +BUNDLED WITH + 2.1.4 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; + }; +} diff --git a/pkgs/tools/misc/twurl/gemset.nix b/pkgs/tools/misc/twurl/gemset.nix new file mode 100644 index 00000000000..a1a2ed835d3 --- /dev/null +++ b/pkgs/tools/misc/twurl/gemset.nix @@ -0,0 +1,23 @@ +{ + oauth = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1zwd6v39yqfdrpg1p3d9jvzs9ljg55ana2p06m0l7qn5w0lgx1a0"; + type = "gem"; + }; + version = "0.5.6"; + }; + twurl = { + dependencies = ["oauth"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1jgsxa0cnkajnsxxlsrgl2wq3m7khaxvr0rcir4vwbc1hx210700"; + type = "gem"; + }; + version = "0.9.6"; + }; +} |