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
This commit is contained in:
Brecht Savelkoul 2021-07-06 21:16:01 +02:00
parent 99367c36ac
commit b6985b0fbe
5 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem 'twurl'

View file

@ -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

View file

@ -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;
};
}

View file

@ -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";
};
}

View file

@ -9441,6 +9441,8 @@ in
twtxt = python3Packages.callPackage ../applications/networking/twtxt { };
twurl = callPackage ../tools/misc/twurl { };
txr = callPackage ../tools/misc/txr { stdenv = clangStdenv; };
txt2man = callPackage ../tools/misc/txt2man { };