Merge branch 'master' into staging-next
This commit is contained in:
@@ -1,27 +1,17 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "joker";
|
||||
version = "0.12.4";
|
||||
|
||||
goPackagePath = "github.com/candid82/joker";
|
||||
version = "0.12.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "candid82";
|
||||
repo = "joker";
|
||||
sha256 = "1swi991khmyhxn6w6xsdqp1wbyx3qmd9d7yhpwvqasyxp8gg3szm";
|
||||
sha256 = "0panmhrg1i158xbvqvq3s3217smbj7ynwlaiks18pmss36xx9dk4";
|
||||
};
|
||||
|
||||
preBuild = "go generate ./...";
|
||||
|
||||
postBuild = "rm go/bin/sum256dir";
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
excludedPackages = "gen"; # Do not install private generators.
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/candid82/joker;
|
||||
|
||||
29
pkgs/development/interpreters/joker/deps.nix
generated
29
pkgs/development/interpreters/joker/deps.nix
generated
@@ -1,29 +0,0 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/chzyer/readline";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/chzyer/readline";
|
||||
rev = "6a4bc7b4feaeff8feb63f87d5fb2cf3e3610a559";
|
||||
sha256 = "1ny3rws671sa9bj5phg6k1rprlgzys73kfdr14vxq4wnwz84zbrc";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/pkg/profile";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pkg/profile";
|
||||
rev = "5b67d428864e92711fcbd2f8629456121a56d91f";
|
||||
sha256 = "0blqmvgqvdbqmh3fp9pfdxc9w1qfshrr0zy9whj0sn372bw64qnr";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v2";
|
||||
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
|
||||
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
|
||||
};
|
||||
}
|
||||
]
|
||||
@@ -3,6 +3,7 @@
|
||||
, zlib, openssl, gdbm, ncurses, readline, groff, libyaml, libffi, autoreconfHook, bison
|
||||
, autoconf, libiconv, libobjc, libunwind, Foundation
|
||||
, buildEnv, bundler, bundix
|
||||
, makeWrapper, buildRubyGem, defaultGemConfig
|
||||
} @ args:
|
||||
|
||||
let
|
||||
@@ -46,6 +47,7 @@ let
|
||||
, autoreconfHook, bison, autoconf
|
||||
, buildEnv, bundler, bundix
|
||||
, libiconv, libobjc, libunwind, Foundation
|
||||
, makeWrapper, buildRubyGem, defaultGemConfig
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ruby";
|
||||
@@ -193,6 +195,12 @@ let
|
||||
ruby = self;
|
||||
};
|
||||
|
||||
inherit (import ../../ruby-modules/with-packages {
|
||||
inherit lib stdenv makeWrapper buildRubyGem buildEnv;
|
||||
gemConfig = defaultGemConfig;
|
||||
ruby = self;
|
||||
}) withPackages gems;
|
||||
|
||||
# deprecated 2016-09-21
|
||||
majorVersion = ver.major;
|
||||
minorVersion = ver.minor;
|
||||
@@ -212,26 +220,26 @@ in {
|
||||
};
|
||||
|
||||
ruby_2_4 = generic {
|
||||
version = rubyVersion "2" "4" "5" "";
|
||||
version = rubyVersion "2" "4" "7" "";
|
||||
sha256 = {
|
||||
src = "162izk7c72y73vmdgcbsh8kqihrbm65xvp53r1s139pzwqd78dv7";
|
||||
git = "181za4h6bd2bkyzyknxc18i5gq0pnqag60ybc17p0ixw3q7pdj43";
|
||||
src = "12cbyf7zai8mi3mxffm5ynq3mmkcbvs7kb1bbrs259m61irgqvnd";
|
||||
git = "1dgch9xz4wdcncb6pf2dvijm10yk6mbw2wfdrj7d3wazrjzh305z";
|
||||
};
|
||||
};
|
||||
|
||||
ruby_2_5 = generic {
|
||||
version = rubyVersion "2" "5" "5" "";
|
||||
version = rubyVersion "2" "5" "6" "";
|
||||
sha256 = {
|
||||
src = "0k2in88jymqh727s88yjsv7wrqs2hdj9h2w9zh2bmrj0ygylba98";
|
||||
git = "0l7b7xv48gvvlqs27gghfi645qvc1nwiz8ym4j8w100rzzzfy6zz";
|
||||
src = "19xy6rf138ys4qycv0ibsycqwbjmf1j6iv9plw9cs81hcxnd0zhx";
|
||||
git = "067gyy7149m6vk9dfyx22mghm2gbgy7snfa7df4ddrvr1pqffqmz";
|
||||
};
|
||||
};
|
||||
|
||||
ruby_2_6 = generic {
|
||||
version = rubyVersion "2" "6" "3" "";
|
||||
version = rubyVersion "2" "6" "4" "";
|
||||
sha256 = {
|
||||
src = "1yw23hmllxsc4b7zqndn5l4d9503gdik6rsf3lfdkf12bxwx6zsp";
|
||||
git = "1h4k2kw0vr4jh2ra9l89i8lnddfh2qfw67y9cknjylf7kw2m1pmh";
|
||||
src = "0dvrw4g2igvjclxk9bmb9pf6mzxwm22zqvqa0abkfnshfnxdihag";
|
||||
git = "1h4z66amjykpzl6lxx6yad2yfpwnwix4sw19bd96jnwg248kviqf";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
"${patchSet}/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch"
|
||||
"${patchSet}/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch"
|
||||
];
|
||||
"2.4.5" = ops useRailsExpress [
|
||||
"2.4.7" = ops useRailsExpress [
|
||||
"${patchSet}/patches/ruby/2.4/head/railsexpress/01-skip-broken-tests.patch"
|
||||
"${patchSet}/patches/ruby/2.4/head/railsexpress/02-improve-gc-stats.patch"
|
||||
"${patchSet}/patches/ruby/2.4/head/railsexpress/03-display-more-detailed-stack-trace.patch"
|
||||
];
|
||||
"2.5.5" = ops useRailsExpress [
|
||||
"2.5.6" = ops useRailsExpress [
|
||||
"${patchSet}/patches/ruby/2.5/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
|
||||
"${patchSet}/patches/ruby/2.5/head/railsexpress/02-improve-gc-stats.patch"
|
||||
"${patchSet}/patches/ruby/2.5/head/railsexpress/03-more-detailed-stacktrace.patch"
|
||||
];
|
||||
"2.6.3" = ops useRailsExpress [
|
||||
"2.6.4" = ops useRailsExpress [
|
||||
"${patchSet}/patches/ruby/2.6/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
|
||||
"${patchSet}/patches/ruby/2.6/head/railsexpress/02-improve-gc-stats.patch"
|
||||
"${patchSet}/patches/ruby/2.6/head/railsexpress/03-more-detailed-stacktrace.patch"
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
fetchFromGitHub {
|
||||
owner = "skaes";
|
||||
repo = "rvm-patchsets";
|
||||
rev = "e6e12c2c32ff184e0409d8f9f2a870f2dfbd06a3";
|
||||
sha256 = "0n71h2ip1k18icb3bcr1jz4161lh6vr6i3f7b45jswg77c4rrxcy";
|
||||
rev = "58f72dccc8bb4dc9b1035f6af903d21f2465367a";
|
||||
sha256 = "00gbrhvnf05g6zmfim472ld0l1lp100dy4pi3lixm6ry9iw9m4ag";
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@ in
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "supercollider";
|
||||
version = "3.10.2";
|
||||
version = "3.10.3";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source-linux.tar.bz2";
|
||||
sha256 = "0ynz1ydcpsd5h57h1n4a7avm6p1cif5a8rkmz4qpr46pr8z9p6iq";
|
||||
url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2";
|
||||
sha256 = "1wvsrr4qcqmpxpn57wwrnwbnf3pflr3n4wkj9j6b9cdisp34kv5d";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
@@ -26,6 +26,8 @@ mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [
|
||||
gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ]
|
||||
++ optional (!stdenv.isDarwin) alsaLib
|
||||
@@ -33,7 +35,7 @@ mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Programming language for real time audio synthesis";
|
||||
homepage = http://supercollider.sourceforge.net/;
|
||||
homepage = "https://supercollider.github.io";
|
||||
maintainers = with maintainers; [ mrmebelman ];
|
||||
license = licenses.gpl3;
|
||||
platforms = [ "x686-linux" "x86_64-linux" ];
|
||||
|
||||
Reference in New Issue
Block a user