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
launchpad/nixpkgs/master
Brecht Savelkoul 3 years ago
parent 99367c36ac
commit b6985b0fbe
  1. 3
      pkgs/tools/misc/twurl/Gemfile
  2. 15
      pkgs/tools/misc/twurl/Gemfile.lock
  3. 17
      pkgs/tools/misc/twurl/default.nix
  4. 23
      pkgs/tools/misc/twurl/gemset.nix
  5. 2
      pkgs/top-level/all-packages.nix

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

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

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

@ -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…
Cancel
Save