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:
parent
99367c36ac
commit
b6985b0fbe
5 changed files with 60 additions and 0 deletions
3
pkgs/tools/misc/twurl/Gemfile
Normal file
3
pkgs/tools/misc/twurl/Gemfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
source "https://rubygems.org"
|
||||
|
||||
gem 'twurl'
|
15
pkgs/tools/misc/twurl/Gemfile.lock
Normal file
15
pkgs/tools/misc/twurl/Gemfile.lock
Normal 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
|
17
pkgs/tools/misc/twurl/default.nix
Normal file
17
pkgs/tools/misc/twurl/default.nix
Normal 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;
|
||||
};
|
||||
}
|
23
pkgs/tools/misc/twurl/gemset.nix
Normal file
23
pkgs/tools/misc/twurl/gemset.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue