Merge remote-tracking branch 'upstream/staging' into deps-reorg
This commit is contained in:
@@ -17,7 +17,7 @@ with stdenv.lib;
|
||||
let
|
||||
os = stdenv.lib.optionalString;
|
||||
majorVersion = "3.9";
|
||||
minorVersion = "1";
|
||||
minorVersion = "2";
|
||||
version = "${majorVersion}.${minorVersion}";
|
||||
in
|
||||
|
||||
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
|
||||
# from https://cmake.org/files/v3.9/cmake-3.9.1-SHA-256.txt
|
||||
sha256 = "d768ee83d217f91bb597b3ca2ac663da7a8603c97e1f1a5184bc01e0ad2b12bb";
|
||||
# from https://cmake.org/files/v3.9/cmake-3.9.2-SHA-256.txt
|
||||
sha256 = "954a5801a456ee48e76f01107c9a4961677dd0f3e115275bbd18410dc22ba3c1";
|
||||
};
|
||||
|
||||
prePatch = optionalString (!useSharedLibraries) ''
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sbt-${version}";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"
|
||||
"https://cocl.us/sbt-${version}.tgz"
|
||||
];
|
||||
sha256 = "0nhf7fksgaa8snrhfaac4n6gf29bbv59lfyiv7pr2jhbi5m9js2v";
|
||||
sha256 = "1w1f6nsdq3inxhqhy69mgljfjr51n1v1s8i51gcg11rd2bc67w63";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, guile, libffi, pkgconfig, glib, guile_lib }:
|
||||
{ fetchurl, stdenv, guile, libffi, pkgconfig, glib, guile-lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "g-wrap-1.9.15";
|
||||
@@ -7,10 +7,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
# Note: Glib support is optional, but it's quite useful (e.g., it's
|
||||
# used by Guile-GNOME).
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ guile glib guile_lib ];
|
||||
buildInputs = [ guile glib guile-lib ];
|
||||
|
||||
propagatedBuildInputs = [ libffi ];
|
||||
|
||||
|
||||
26
pkgs/development/tools/haskell/vaultenv/default.nix
Normal file
26
pkgs/development/tools/haskell/vaultenv/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ mkDerivation, fetchurl, async, base, bytestring, http-conduit, lens
|
||||
, lens-aeson, optparse-applicative, retry, stdenv, text, unix
|
||||
, unordered-containers, utf8-string
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "vaultenv";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz";
|
||||
sha256 = "0hdcxq88cf3ygnikkppyg3fcf7xmwm9zif7274j3n34p9vd8xci3";
|
||||
};
|
||||
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
executableHaskellDepends = [
|
||||
async base bytestring http-conduit lens lens-aeson
|
||||
optparse-applicative retry text unix unordered-containers
|
||||
utf8-string
|
||||
];
|
||||
homepage = "https://github.com/channable/vaultenv";
|
||||
description = "Runs processes with secrets from HashiCorp Vault";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ lnl7 ];
|
||||
}
|
||||
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postPatch = ''
|
||||
sed -e 's/set -o posix/set +o posix/' -i configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Command-line option parser generator";
|
||||
|
||||
|
||||
@@ -62,15 +62,15 @@ let
|
||||
};
|
||||
in releaseTools.nixBuild rec {
|
||||
name = "hydra-${version}";
|
||||
version = "2017-07-27";
|
||||
version = "2017-09-14";
|
||||
|
||||
inherit stdenv;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "hydra";
|
||||
rev = "3fc320db320c9aa5180c54e77513f1bcb7407079";
|
||||
sha256 = "0kml2rvy5pz8pzl23vfib5vrwxccff9j1jmyq926qv7f5kbzy61b";
|
||||
rev = "b828224fee451ad26e87cfe4eeb9c0704ee1062b";
|
||||
sha256 = "05xv10ldsa1rahxbbgh5kwvl1dv4yvc8idczpifgb55fgqj8zazm";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
|
||||
@@ -11,9 +11,9 @@ let
|
||||
elasticArch = archOverrides."${arch}" or arch;
|
||||
plat = elemAt info 1;
|
||||
shas = {
|
||||
"x86_64-linux" = "0nmx7r6i54x7pii4ryh3wzzbwvnmcb3f1hn6ch96r24xi4v9m1sb";
|
||||
"i686-linux" = "0am6wmbcsh7zxzdrl1q9jbjrb7y4apvi6sr70j61xcx07pbickpp";
|
||||
"x86_64-darwin" = "0kjnlzsz4i2fca3jgfsr1kknqzaypb0r78a7cxz2m7daj3bmpvpl";
|
||||
"x86_64-linux" = "02dhhp16pmkrpi2dfrca9qzz1q7jrxhaw6l3cfflgxx77hz0hlnw";
|
||||
"i686-linux" = "1h1zr342dq7nngvzpf9pn9mvwsi7aksa3qjyqpcc4yvbmmyrlk0m";
|
||||
"x86_64-darwin" = "0van8cnir6s520crc20bf2clbkf822c3ylpk7iiq7da8hwvsypp9";
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "kibana-${version}";
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "texinfo-6.3";
|
||||
name = "texinfo-6.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/texinfo/${name}.tar.xz";
|
||||
sha256 = "0fpr9kdjjl6nj2pc50k2zr7134hvqz8bi8pfqa7131a9lpzz6v14";
|
||||
sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
|
||||
};
|
||||
|
||||
buildInputs = [ perl xz ]
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "tokei-${version}";
|
||||
version = "6.0.1";
|
||||
version = "6.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Aaronepower";
|
||||
repo = "tokei";
|
||||
rev = "v${version}";
|
||||
sha256 = "1v9h45vspsqsy86fm78bc2g5byqa4cd9b9fbmv7imi87yjbm8i7x";
|
||||
sha256 = "1bzs3mr6f9bna39b9ddwwq0raas07nbn106mnq3widxg59i0gxhd";
|
||||
};
|
||||
|
||||
depsSha256 = "0jqzk5qlrc7pm3s7jf8130vgnrcd54izw3mx84m9b5lhf3rz98hm";
|
||||
depsSha256 = "1cz93mrpxmyrza0ipdyg2a6mynl66plpsb446wxnmmy7y7zd6xbf";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
@@ -1,21 +1,17 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "universal-ctags-${version}";
|
||||
version = "2017-01-08";
|
||||
version = "2017-09-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "universal-ctags";
|
||||
repo = "ctags";
|
||||
rev = "9668032d8715265ca5b4ff16eb2efa8f1c450883";
|
||||
sha256 = "0nwcf5mh3ba0g23zw7ym73pgpfdass412k2fy67ryr9vnc709jkj";
|
||||
rev = "b9537289952cc7b26526aaff3094599d714d1729";
|
||||
sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ ];
|
||||
|
||||
# remove when https://github.com/universal-ctags/ctags/pull/1267 is merged
|
||||
patches = [ ./sed-test.patch ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
|
||||
|
||||
autoreconfPhase = ''
|
||||
./autogen.sh --tmpdir
|
||||
|
||||
2
pkgs/development/tools/misc/watson-ruby/Gemfile
Normal file
2
pkgs/development/tools/misc/watson-ruby/Gemfile
Normal file
@@ -0,0 +1,2 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'watson-ruby'
|
||||
15
pkgs/development/tools/misc/watson-ruby/Gemfile.lock
Normal file
15
pkgs/development/tools/misc/watson-ruby/Gemfile.lock
Normal file
@@ -0,0 +1,15 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
json (2.1.0)
|
||||
watson-ruby (1.6.3)
|
||||
json
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
watson-ruby
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.4
|
||||
29
pkgs/development/tools/misc/watson-ruby/default.nix
Normal file
29
pkgs/development/tools/misc/watson-ruby/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv, bundlerEnv, ruby }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "watson-ruby-${version}";
|
||||
version = (import ./gemset.nix).watson-ruby.version;
|
||||
|
||||
env = bundlerEnv rec {
|
||||
name = "watson-ruby-gems-${version}";
|
||||
inherit ruby;
|
||||
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
|
||||
gemdir = ./.;
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${env}/bin/watson $out/bin/watson
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An inline issue manager";
|
||||
homepage = http://goosecode.com/watson/;
|
||||
license = with licenses; mit;
|
||||
maintainers = with maintainers; [ robertodr ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
18
pkgs/development/tools/misc/watson-ruby/gemset.nix
Normal file
18
pkgs/development/tools/misc/watson-ruby/gemset.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
json = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.1.0";
|
||||
};
|
||||
watson-ruby = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1d5m29nr0i030q8ygmbapwri5ndcg2q6lf8a15bk79lfcp9xyj9w";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.6.3";
|
||||
};
|
||||
}
|
||||
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
|
||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||
|
||||
buildPhase = "jbuilder build -p js_of_ocaml";
|
||||
|
||||
@@ -4,15 +4,7 @@
|
||||
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
|
||||
|
||||
let
|
||||
version = if lib.versionOlder (lib.getVersion ocaml) "4.02.0"
|
||||
then
|
||||
"2.3.1"
|
||||
else
|
||||
"2.5.4";
|
||||
hashes = {
|
||||
"2.3.1" = "192jamcc7rmvadlqqsjkzsl6hlgwhg9my1qc89fxh1lmd4qdsrpn";
|
||||
"2.5.4" = "101vk16c5wayd51s8w0mvy99bk7q3gm2gz8i8616wa1lmyszjknh";
|
||||
};
|
||||
version = "3.0.2";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -20,8 +12,8 @@ stdenv.mkDerivation {
|
||||
name = "merlin-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/the-lambda-church/merlin/archive/v${version}.tar.gz";
|
||||
sha256 = hashes."${version}";
|
||||
url = "https://github.com/ocaml/merlin/archive/v${version}.tar.gz";
|
||||
sha256 = "0lcgafs5ip8vhvrp1d7yv6mzjsirmayd83cj4wwq6zxcrl7yv4x8";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib yojson ]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{ stdenv, lib, fetchgit, fetchurl, makeWrapper,
|
||||
ocaml, unzip, ncurses, curl,
|
||||
aspcudSupport ? !stdenv.isDarwin, aspcud
|
||||
ocaml, unzip, ncurses, curl, aspcud
|
||||
}:
|
||||
|
||||
assert lib.versionAtLeast ocaml.version "3.12.1";
|
||||
@@ -72,12 +71,10 @@ in stdenv.mkDerivation rec {
|
||||
# Dirty, but apparently ocp-build requires a TERM
|
||||
makeFlags = ["TERM=screen"];
|
||||
|
||||
postInstall =
|
||||
if aspcudSupport then ''
|
||||
wrapProgram $out/bin/opam \
|
||||
--suffix PATH : ${aspcud}/bin
|
||||
''
|
||||
else "";
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/opam \
|
||||
--suffix PATH : ${aspcud}/bin
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ with stdenv.lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skopeo-${version}";
|
||||
version = "0.1.22";
|
||||
version = "0.1.23";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/projectatomic/skopeo";
|
||||
@@ -17,7 +17,7 @@ buildGoPackage rec {
|
||||
inherit rev;
|
||||
owner = "projectatomic";
|
||||
repo = "skopeo";
|
||||
sha256 = "0aivs37bcvx3g22a9r3q1vj2ahw323g1vaq9jzbmifm9k0pb07jy";
|
||||
sha256 = "1axxnm87fpsd7q28v951ilhmzd42k8wyh741gdfdcajjwglfj0nn";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -4,7 +4,7 @@ buildGoPackage rec {
|
||||
name = "textql-${version}";
|
||||
version = "2.0.3";
|
||||
rev = "${version}";
|
||||
|
||||
|
||||
goPackagePath = "github.com/dinedal/textql";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -16,6 +16,10 @@ buildGoPackage rec {
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -delete_rpath $out/lib $bin/bin/textql
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Execute SQL against structured text like CSV or TSV";
|
||||
homepage = https://github.com/dinedal/textql;
|
||||
|
||||
Reference in New Issue
Block a user