Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk 2019-05-04 17:34:35 +02:00
commit b7b3b3f967
153 changed files with 2539 additions and 2126 deletions

View File

@ -2565,7 +2565,7 @@
klntsky = { klntsky = {
email = "klntsky@gmail.com"; email = "klntsky@gmail.com";
name = "Vladimir Kalnitsky"; name = "Vladimir Kalnitsky";
github = "8084"; github = "klntsky";
}; };
kmeakin = { kmeakin = {
email = "karlwfmeakin@gmail.com"; email = "karlwfmeakin@gmail.com";

View File

@ -79,6 +79,14 @@ in
''; '';
}; };
hardware.nvidia.optimus_prime.allowExternalGpu = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Configure X to allow external NVIDIA GPUs when using optimus.
'';
};
hardware.nvidia.optimus_prime.nvidiaBusId = lib.mkOption { hardware.nvidia.optimus_prime.nvidiaBusId = lib.mkOption {
type = lib.types.string; type = lib.types.string;
default = ""; default = "";
@ -134,6 +142,7 @@ in
deviceSection = optionalString optimusCfg.enable deviceSection = optionalString optimusCfg.enable
'' ''
BusID "${optimusCfg.nvidiaBusId}" BusID "${optimusCfg.nvidiaBusId}"
${optionalString optimusCfg.allowExternalGpu "Option \"AllowExternalGpus\""}
''; '';
screenSection = screenSection =
'' ''

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, utils, ... }:
# TODO: # TODO:
# #
@ -12,6 +12,8 @@ let
cfg = config.services.hostapd; cfg = config.services.hostapd;
escapedInterface = utils.escapeSystemdPath cfg.interface;
configFile = pkgs.writeText "hostapd.conf" '' configFile = pkgs.writeText "hostapd.conf" ''
interface=${cfg.interface} interface=${cfg.interface}
driver=${cfg.driver} driver=${cfg.driver}
@ -157,8 +159,8 @@ in
{ description = "hostapd wireless AP"; { description = "hostapd wireless AP";
path = [ pkgs.hostapd ]; path = [ pkgs.hostapd ];
after = [ "sys-subsystem-net-devices-${cfg.interface}.device" ]; after = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
bindsTo = [ "sys-subsystem-net-devices-${cfg.interface}.device" ]; bindsTo = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
requiredBy = [ "network-link-${cfg.interface}.service" ]; requiredBy = [ "network-link-${cfg.interface}.service" ];
serviceConfig = serviceConfig =

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, cmake, qtbase, alsaLib, makeDesktopItem }:
let
desktopItem = makeDesktopItem rec {
name = "Munt";
exec = "mt32emu-qt";
desktopName = name;
genericName = "Munt synthesiser";
categories = "Audio;AudioVideo;";
};
in stdenv.mkDerivation rec {
version = "2.3.0";
pname = "munt";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = with stdenv.lib.versions; "${pname}_${major version}_${minor version}_${patch version}";
sha256 = "0fjhshs4w942rlfksalalqshflbq83pyz1z0hcq53falh9v54cyw";
};
postInstall = ''
ln -s ${desktopItem}/share/applications $out/share
'';
dontFixCmake = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase alsaLib ];
meta = with stdenv.lib; {
description = "Multi-platform software synthesiser emulating Roland MT-32, CM-32L, CM-64 and LAPC-I devices";
homepage = "http://munt.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
};
}

View File

@ -4,11 +4,11 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "snd-19.2"; name = "snd-19.3";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/snd/${name}.tar.gz"; url = "mirror://sourceforge/snd/${name}.tar.gz";
sha256 = "1a6ls2hyvggss12idca22hq5vsq4jw2xkwrx22dx29i9926gdr6h"; sha256 = "16j3fqyw361wdsr1076f0p3va2y7wdzq1lvr4ijz1ajmbxdlc723";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -23,7 +23,7 @@ let
} }
// a // a
// { // {
name = "gimp-plugin-${a.name}"; name = "gimp-plugin-${a.name or "${a.pname}-${a.version}"}";
buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []); buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []); nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []);
} }
@ -110,22 +110,23 @@ rec {
"; ";
}; };
resynthesizer2 = pluginDerivation { resynthesizer2 = pluginDerivation rec {
/* menu: /* menu:
Filters/Map/Resynthesize Filters/Map/Resynthesize
Filters/Enhance/Smart enlarge Filters/Enhance/Smart enlarge
Filters/Enhance/Smart sharpen Filters/Enhance/Smart sharpen
Filters/Enhance/Smart remove selection Filters/Enhance/Smart remove selection
*/ */
name = "resynthesizer-2.0.1"; pname = "resynthesizer";
version = "2.0.3";
buildInputs = with pkgs; [ fftw ]; buildInputs = with pkgs; [ fftw ];
nativeBuildInputs = with pkgs; [ autoreconfHook ]; nativeBuildInputs = with pkgs; [ autoreconfHook ];
makeFlags = "GIMP_LIBDIR=$out/lib/gimp/2.0/"; makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/lib/gimp/2.0" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bootchk"; owner = "bootchk";
repo = "resynthesizer"; repo = "resynthesizer";
rev = "2.0.1"; rev = "v${version}";
sha256 = "1d214s0jsqxz83l9dd8vhnz3siw9fyw7xdhhir25ra7jiwxc99hd"; sha256 = "1jwc8bhhm21xhrgw56nzbma6fwg59gc8anlmyns7jdiw83y0zx3j";
}; };
}; };

View File

@ -1,45 +1,69 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
builder (3.2.2) addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
colored (1.2) colored (1.2)
crack (0.4.3) declarative (0.0.10)
safe_yaml (~> 1.0.0) declarative-option (0.1.0)
domain_name (0.5.25) descendants_tracker (0.0.4)
unf (>= 0.0.5, < 1.0.0) thread_safe (~> 0.3, >= 0.3.1)
highline (1.7.8) equalizer (0.0.11)
excon (0.64.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.13.1)
faraday (>= 0.7.4, < 1.0)
highline (2.0.2)
hirb (0.7.3) hirb (0.7.3)
http-cookie (1.0.2) hirb-unicode (0.0.5)
domain_name (~> 0.5) hirb (~> 0.5)
mime-types (2.99) unicode-display_width (~> 0.1.1)
mini_portile2 (2.0.0) ice_nine (0.11.2)
netrc (0.11.0) multi_json (1.13.1)
nokogiri (1.6.7.1) multipart-post (2.0.0)
mini_portile2 (~> 2.0.0.rc2) pt (0.10.0)
nokogiri-happymapper (0.5.9) colored (~> 1.2)
nokogiri (~> 1.5) highline
pivotal-tracker (0.5.13) hirb (~> 0.7, >= 0.7.3)
builder hirb-unicode (~> 0.0.5, >= 0.0.5)
crack thor
nokogiri (>= 1.5.5) tracker_api (~> 1.6.0)
nokogiri-happymapper (>= 0.5.4) public_suffix (3.0.3)
rest-client (>= 1.8.0) representable (3.0.4)
pt (0.7.3) declarative (< 0.1.0)
colored (>= 1.2) declarative-option (< 0.2.0)
highline (>= 1.6.1) uber (< 0.2.0)
hirb (>= 0.4.5) thor (0.20.3)
pivotal-tracker (>= 0.4.1) thread_safe (0.3.6)
rest-client (1.8.0) tracker_api (1.6.0)
http-cookie (>= 1.0.2, < 2.0) addressable
mime-types (>= 1.16, < 3.0) equalizer
netrc (~> 0.7) excon
safe_yaml (1.0.4) faraday (~> 0.9.0)
unf (0.1.4) faraday_middleware
unf_ext multi_json
unf_ext (0.0.7.1) representable
virtus
uber (0.1.0)
unicode-display_width (0.1.1)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
pt pt
BUNDLED WITH
1.17.2

View File

@ -1,16 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "pt-0.7.3"; pname = "pt";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "pt" ];
meta = with lib; { meta = with lib; {
description = "Minimalist command-line Pivotal Tracker client"; description = "Minimalist command-line Pivotal Tracker client";
homepage = http://www.github.com/raul/pt; homepage = http://www.github.com/raul/pt;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ebzzry ]; maintainers = with maintainers; [ ebzzry manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,164 +1,273 @@
{ {
"builder" = { addressable = {
version = "3.2.2"; dependencies = ["public_suffix"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem"; type = "gem";
sha256 = "14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2";
}; };
version = "2.6.0";
}; };
"colored" = { axiom-types = {
version = "1.2"; dependencies = ["descendants_tracker" "ice_nine" "thread_safe"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "10q3k04pll041mkgy0m5fn2b1lazm6ly1drdbcczl5p57lzi3zy1";
type = "gem"; type = "gem";
};
version = "0.1.1";
};
coercible = {
dependencies = ["descendants_tracker"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1p5azydlsz0nkxmcq0i1gzmcfq02lgxc4as7wmf47j1c6ljav0ah";
type = "gem";
};
version = "1.0.0";
};
colored = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx"; sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx";
};
};
"crack" = {
version = "0.4.3";
source = {
type = "gem"; type = "gem";
sha256 = "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k";
}; };
dependencies = [ version = "1.2";
"safe_yaml"
];
}; };
"domain_name" = { declarative = {
version = "0.5.25"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "0642xvwzzbgi3kp1bg467wma4g3xqrrn0sk369hjam7w579gnv5j";
type = "gem"; type = "gem";
sha256 = "16qvfrmcwlzz073aas55mpw2nhyhjcn96s524w0g1wlml242hjav";
}; };
dependencies = [ version = "0.0.10";
"unf"
];
}; };
"highline" = { declarative-option = {
version = "1.7.8"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1g4ibxq566f1frnhdymzi9hxxcm4g2gw4n21mpjk2mhwym4q6l0p";
type = "gem"; type = "gem";
sha256 = "1nf5lgdn6ni2lpfdn4gk3gi47fmnca2bdirabbjbz1fk9w4p8lkr";
}; };
version = "0.1.0";
}; };
"hirb" = { descendants_tracker = {
version = "0.7.3"; dependencies = ["thread_safe"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "15q8g3fcqyb41qixn6cky0k3p86291y7xsh1jfd851dvrza1vi79";
type = "gem"; type = "gem";
};
version = "0.0.4";
};
equalizer = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kjmx3fygx8njxfrwcmn7clfhjhb6bvv3scy2lyyi0wqyi3brra4";
type = "gem";
};
version = "0.0.11";
};
excon = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vcplvlykirg2vc56jjxavgpkllzq26xgp7ind7wc5ikaqaz64gn";
type = "gem";
};
version = "0.64.0";
};
faraday = {
dependencies = ["multipart-post"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kplqkpn2s2yl3lxdf6h7sfldqvkbkpxwwxhyk7mdhjplb5faqh6";
type = "gem";
};
version = "0.9.2";
};
faraday_middleware = {
dependencies = ["faraday"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1a93rs58bakqck7bcihasz66a1riy22h2zpwrpmb13gp8mw3wkmr";
type = "gem";
};
version = "0.13.1";
};
highline = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1g0zpalfj8wvca86hcnirir5py2zyqrhkgdgv9f87fxkjaw815wr";
type = "gem";
};
version = "2.0.2";
};
hirb = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mzch3c2lvmf8gskgzlx6j53d10j42ir6ik2dkrl27sblhy76cji"; sha256 = "0mzch3c2lvmf8gskgzlx6j53d10j42ir6ik2dkrl27sblhy76cji";
};
};
"http-cookie" = {
version = "1.0.2";
source = {
type = "gem"; type = "gem";
sha256 = "0cz2fdkngs3jc5w32a6xcl511hy03a7zdiy988jk1sf3bf5v3hdw";
}; };
dependencies = [
"domain_name"
];
};
"mime-types" = {
version = "2.99";
source = {
type = "gem";
sha256 = "1hravghdnk9qbibxb3ggzv7mysl97djh8n0rsswy3ssjaw7cbvf2";
};
};
"mini_portile2" = {
version = "2.0.0";
source = {
type = "gem";
sha256 = "056drbn5m4khdxly1asmiik14nyllswr6sh3wallvsywwdiryz8l";
};
};
"netrc" = {
version = "0.11.0";
source = {
type = "gem";
sha256 = "0gzfmcywp1da8nzfqsql2zqi648mfnx6qwkig3cv36n9m0yy676y";
};
};
"nokogiri" = {
version = "1.6.7.1";
source = {
type = "gem";
sha256 = "12nwv3lad5k2k73aa1d1xy4x577c143ixks6rs70yp78sinbglk2";
};
dependencies = [
"mini_portile2"
];
};
"nokogiri-happymapper" = {
version = "0.5.9";
source = {
type = "gem";
sha256 = "0xv5crnzxdbd0ykx1ikfg1h0yw0h70lk607x1g45acsb1da97mkq";
};
dependencies = [
"nokogiri"
];
};
"pivotal-tracker" = {
version = "0.5.13";
source = {
type = "gem";
sha256 = "0vxs69qb0k4g62250zbf5x78wpkhpj98clg2j09ncy3s8yklr0pd";
};
dependencies = [
"builder"
"crack"
"nokogiri"
"nokogiri-happymapper"
"rest-client"
];
};
"pt" = {
version = "0.7.3"; version = "0.7.3";
source = {
type = "gem";
sha256 = "0bf821yf0zq5bhs65wmx339bm771lcnd6dlsljj3dnisjj068dk8";
};
dependencies = [
"colored"
"highline"
"hirb"
"pivotal-tracker"
];
}; };
"rest-client" = { hirb-unicode = {
version = "1.8.0"; dependencies = ["hirb" "unicode-display_width"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1b7hka1p4mkjdy2wr2cxsivnsmnz31zz1bswznmmxnvf5a6c00jk";
type = "gem"; type = "gem";
sha256 = "1m8z0c4yf6w47iqz6j2p7x1ip4qnnzvhdph9d5fgx081cvjly3p7";
}; };
dependencies = [ version = "0.0.5";
"http-cookie"
"mime-types"
"netrc"
];
}; };
"safe_yaml" = { ice_nine = {
version = "1.0.4"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1nv35qg1rps9fsis28hz2cq2fx1i96795f91q4nmkm934xynll2x";
type = "gem"; type = "gem";
sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094";
}; };
version = "0.11.2";
}; };
"unf" = { multi_json = {
version = "0.1.4"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem"; type = "gem";
sha256 = "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9";
}; };
dependencies = [ version = "1.13.1";
"unf_ext"
];
}; };
"unf_ext" = { multipart-post = {
version = "0.0.7.1"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x";
type = "gem"; type = "gem";
sha256 = "0ly2ms6c3irmbr1575ldyh52bz2v0lzzr2gagf0p526k12ld2n5b";
}; };
version = "2.0.0";
};
pt = {
dependencies = ["colored" "highline" "hirb" "hirb-unicode" "thor" "tracker_api"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1ypyya7bk0w7zd9c3224zsizhv5wbs1icjpn0023wh3ii1by16a8";
type = "gem";
};
version = "0.10.0";
};
public_suffix = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
type = "gem";
};
version = "3.0.3";
};
representable = {
dependencies = ["declarative" "declarative-option" "uber"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0qm9rgi1j5a6nv726ka4mmixivlxfsg91h8rpp72wwd4vqbkkm07";
type = "gem";
};
version = "3.0.4";
};
thor = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1yhrnp9x8qcy5vc7g438amd5j9sw83ih7c30dr6g6slgw9zj3g29";
type = "gem";
};
version = "0.20.3";
};
thread_safe = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
type = "gem";
};
version = "0.3.6";
};
tracker_api = {
dependencies = ["addressable" "equalizer" "excon" "faraday" "faraday_middleware" "multi_json" "representable" "virtus"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0pxwzbjzxign81wynl44napkvkrrhlyl7rm4ywrcdqahmzxmavsp";
type = "gem";
};
version = "1.6.0";
};
uber = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1p1mm7mngg40x05z52md3mbamkng0zpajbzqjjwmsyw0zw3v9vjv";
type = "gem";
};
version = "0.1.0";
};
unicode-display_width = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "06dpm3yqc974qfy6nyx7b0w0f6b8k08jadd5l9xnmla3fji6c405";
type = "gem";
};
version = "0.1.1";
};
virtus = {
dependencies = ["axiom-types" "coercible" "descendants_tracker" "equalizer"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "06iphwi3c4f7y9i2rvhvaizfswqbaflilziz4dxqngrdysgkn1fk";
type = "gem";
};
version = "1.0.5";
}; };
} }

View File

@ -1,2 +1,2 @@
source 'http://rubygems.org' source 'https://rubygems.org'
gem 'taskjuggler' gem 'taskjuggler'

View File

@ -1,15 +1,15 @@
GEM GEM
remote: http://rubygems.org/ remote: https://rubygems.org/
specs: specs:
mail (2.7.0) mail (2.7.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
mini_mime (1.0.1) mini_mime (1.0.1)
taskjuggler (3.6.0) taskjuggler (3.6.0)
mail (>= 2.4.3) mail (>= 2.4.3)
term-ansicolor (>= 1.0.7) term-ansicolor (>= 1.0.7)
term-ansicolor (1.6.0) term-ansicolor (1.7.1)
tins (~> 1.0) tins (~> 1.0)
tins (1.16.3) tins (1.20.2)
PLATFORMS PLATFORMS
ruby ruby
@ -18,4 +18,4 @@ DEPENDENCIES
taskjuggler taskjuggler
BUNDLED WITH BUNDLED WITH
1.14.6 1.17.2

View File

@ -1,9 +1,7 @@
{ lib, bundlerApp, ruby }: { lib, bundlerApp }:
bundlerApp { bundlerApp {
pname = "taskjuggler"; pname = "taskjuggler";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ exes = [
@ -11,11 +9,11 @@ bundlerApp {
"tj3ts_receiver" "tj3ts_sender" "tj3ts_summary" "tj3webd" "tj3ts_receiver" "tj3ts_sender" "tj3ts_summary" "tj3webd"
]; ];
meta = { meta = with lib; {
description = "A modern and powerful project management tool"; description = "A modern and powerful project management tool";
homepage = http://taskjuggler.org/; homepage = http://taskjuggler.org/;
license = lib.licenses.gpl2; license = licenses.gpl2;
platforms = lib.platforms.unix; platforms = platforms.unix;
maintainers = [ lib.maintainers.manveru ]; maintainers = [ maintainers.manveru ];
}; };
} }

View File

@ -4,17 +4,17 @@
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["http://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10dyifazss9mgdzdv08p47p344wmphp5pkh5i73s7c04ra8y6ahz"; sha256 = "00wwz6ys0502dpk8xprwcqfwyf3hmnx6lgxaiq6vj43mkx43sapc";
type = "gem"; type = "gem";
}; };
version = "2.7.0"; version = "2.7.1";
}; };
mini_mime = { mini_mime = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["http://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1q4pshq387lzv9m39jv32vwb8wrq3wc4jwgl4jk209r4l33v09d3"; sha256 = "1q4pshq387lzv9m39jv32vwb8wrq3wc4jwgl4jk209r4l33v09d3";
type = "gem"; type = "gem";
}; };
@ -25,7 +25,7 @@
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["http://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0ky3cydl3szhdyxsy4k6zxzjlbll7mlq025aj6xd5jmh49k3pfbp"; sha256 = "0ky3cydl3szhdyxsy4k6zxzjlbll7mlq025aj6xd5jmh49k3pfbp";
type = "gem"; type = "gem";
}; };
@ -36,20 +36,20 @@
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["http://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1b1wq9ljh7v3qyxkk8vik2fqx2qzwh5lval5f92llmldkw7r7k7b"; sha256 = "1xq5kci9215skdh27npyd3y55p812v4qb4x2hv3xsjvwqzz9ycwj";
type = "gem"; type = "gem";
}; };
version = "1.6.0"; version = "1.7.1";
}; };
tins = { tins = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["http://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0g95xs4nvx5n62hb4fkbkd870l9q3y9adfc4h8j21phj9mxybkb8"; sha256 = "1pqj45n216zrz7yckdbdknlmhh187iqzx8fp76y2h0jrgqjfkxmj";
type = "gem"; type = "gem";
}; };
version = "1.16.3"; version = "1.20.2";
}; };
} }

View File

@ -5,16 +5,17 @@
, nlSupport ? true, libnl , nlSupport ? true, libnl
, udevSupport ? true, udev , udevSupport ? true, udev
, swaySupport ? true, sway , swaySupport ? true, sway
, mpdSupport ? true, mpd_clientlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "waybar-${version}"; name = "waybar-${version}";
version = "0.5.1"; version = "0.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Alexays"; owner = "Alexays";
repo = "Waybar"; repo = "Waybar";
rev = version; rev = version;
sha256 = "1h3ifiklzcbrvqzzhs7rij8w45k96cir2d4kkyd2ap93akvcnsr9"; sha256 = "1hzwqg22sjiirx6743512271p3jlakrw0155av1phrv5b7p3ws8a";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -27,13 +28,15 @@
++ optional pulseSupport libpulseaudio ++ optional pulseSupport libpulseaudio
++ optional nlSupport libnl ++ optional nlSupport libnl
++ optional udevSupport udev ++ optional udevSupport udev
++ optional swaySupport sway; ++ optional swaySupport sway
++ optional mpdSupport mpd_clientlib;
mesonFlags = [ mesonFlags = [
"-Ddbusmenu-gtk=${ if traySupport then "enabled" else "disabled" }" "-Ddbusmenu-gtk=${ if traySupport then "enabled" else "disabled" }"
"-Dpulseaudio=${ if pulseSupport then "enabled" else "disabled" }" "-Dpulseaudio=${ if pulseSupport then "enabled" else "disabled" }"
"-Dlibnl=${ if nlSupport then "enabled" else "disabled" }" "-Dlibnl=${ if nlSupport then "enabled" else "disabled" }"
"-Dlibudev=${ if udevSupport then "enabled" else "disabled" }" "-Dlibudev=${ if udevSupport then "enabled" else "disabled" }"
"-Dmpd=${ if mpdSupport then "enabled" else "disabled" }"
"-Dout=${placeholder "out"}" "-Dout=${placeholder "out"}"
]; ];

View File

@ -15,13 +15,13 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "kubernetes-${version}"; name = "kubernetes-${version}";
version = "1.14.0"; version = "1.14.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = "kubernetes"; repo = "kubernetes";
rev = "v${version}"; rev = "v${version}";
sha256 = "1c04x474m5b7qqs9kddrx2mygwpv40hvylr3cq34qxdxgang3qc6"; sha256 = "1cyln9nwry290fpffx6xxy0ll7ybib5ifja7nnq93f3f2p0sj421";
}; };
buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ]; buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ];

View File

@ -7,7 +7,7 @@ let
# Please keep the version x.y.0.z and do not update to x.y.76.z because the # Please keep the version x.y.0.z and do not update to x.y.76.z because the
# source of the latter disappears much faster. # source of the latter disappears much faster.
version = "8.42.76.54"; version = "8.44.0.40";
rpath = stdenv.lib.makeLibraryPath [ rpath = stdenv.lib.makeLibraryPath [
alsaLib alsaLib
@ -58,7 +58,7 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"; url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
sha256 = "1r2wkaa4ss6b8289db3p012nlhvljbx57hp7jc9n0mp19yphd07l"; sha256 = "08b5nfx1c8czx5nga3zlg60rxnyg2iy627vnaq8cf9dv620vbrw8";
} }
else else
throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}"; throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
@ -99,8 +99,7 @@ in stdenv.mkDerivation {
# Fix the desktop link # Fix the desktop link
substituteInPlace $out/share/applications/skypeforlinux.desktop \ substituteInPlace $out/share/applications/skypeforlinux.desktop \
--replace /usr/bin/ $out/bin/ \ --replace /usr/bin/ $out/bin/
--replace /usr/share/ $out/share/
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -5,7 +5,7 @@
let let
version = "3.3.8"; version = "3.4.0";
rpath = stdenv.lib.makeLibraryPath [ rpath = stdenv.lib.makeLibraryPath [
alsaLib alsaLib
@ -48,7 +48,7 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb"; url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
sha256 = "02435zvpyr95fljx3xgqz0b0npim1j0611p4rc1azwgdf8hjn11p"; sha256 = "0ld53gg0dbfpi79lz2sx5br29mlhwkfcypzf3iya4cm75a33hyw5";
} }
else else
throw "Slack is not supported on ${stdenv.hostPlatform.system}"; throw "Slack is not supported on ${stdenv.hostPlatform.system}";

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "teamviewer-${version}"; name = "teamviewer-${version}";
version = "14.2.2558"; version = "14.2.8352";
src = fetchurl { src = fetchurl {
url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb"; url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb";
sha256 = "1wfdvs0jfhm1ri1mni4bf9qszzca17p07w6ih7k4k0x4j8ga18cs"; sha256 = "132fh3lg6g4b0yfkhvbm9zg8s3lcljmbk6gfaavi4b1h8ndq92ay";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "aesop"; pname = "aesop";
version = "1.1.0"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lainsce"; owner = "lainsce";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0gh1xwxlzyicw059g6h1icckinf5d9rqfnwml0cy85bbawm6w0xq"; sha256 = "191azshc2z9pzc61fhmzv5cxnihh5wh3nj803kvi3rnk6nl9mhzh";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,9 +1,9 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
backports (3.6.8) backports (3.14.0)
database_cleaner (1.5.3) database_cleaner (1.7.0)
diff-lcs (1.2.5) diff-lcs (1.3)
directory_watcher (1.5.1) directory_watcher (1.5.1)
ledger_web (1.5.2) ledger_web (1.5.2)
database_cleaner database_cleaner
@ -15,41 +15,41 @@ GEM
sinatra sinatra
sinatra-contrib sinatra-contrib
sinatra-session sinatra-session
multi_json (1.12.1) multi_json (1.13.1)
pg (0.18.4) mustermann (1.0.3)
rack (1.6.11) pg (1.1.4)
rack-protection (1.5.3) rack (2.0.7)
rack-protection (2.0.5)
rack rack
rack-test (0.6.3) rspec (3.8.0)
rack (>= 1.0) rspec-core (~> 3.8.0)
rspec (3.5.0) rspec-expectations (~> 3.8.0)
rspec-core (~> 3.5.0) rspec-mocks (~> 3.8.0)
rspec-expectations (~> 3.5.0) rspec-core (3.8.0)
rspec-mocks (~> 3.5.0) rspec-support (~> 3.8.0)
rspec-core (3.5.2) rspec-expectations (3.8.3)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0) rspec-support (~> 3.8.0)
rspec-mocks (3.5.0) rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0) rspec-support (~> 3.8.0)
rspec-support (3.5.0) rspec-support (3.8.0)
sequel (4.37.0) sequel (5.19.0)
sinatra (1.4.7) sinatra (2.0.5)
rack (~> 1.5) mustermann (~> 1.0)
rack-protection (~> 1.4) rack (~> 2.0)
tilt (>= 1.3, < 3) rack-protection (= 2.0.5)
sinatra-contrib (1.4.7) tilt (~> 2.0)
backports (>= 2.0) sinatra-contrib (2.0.5)
backports (>= 2.8.2)
multi_json multi_json
rack-protection mustermann (~> 1.0)
rack-test rack-protection (= 2.0.5)
sinatra (~> 1.4.0) sinatra (= 2.0.5)
tilt (>= 1.3, < 3) tilt (>= 1.3, < 3)
sinatra-session (1.0.0) sinatra-session (1.0.0)
sinatra (>= 1.0) sinatra (>= 1.0)
tilt (2.0.5) tilt (2.0.9)
PLATFORMS PLATFORMS
ruby ruby
@ -58,4 +58,4 @@ DEPENDENCIES
ledger_web ledger_web
BUNDLED WITH BUNDLED WITH
1.16.4 1.17.2

View File

@ -1,14 +1,12 @@
{ lib, bundlerEnv, ruby { lib, bundlerApp
, withPostgresql ? true, postgresql , withPostgresql ? true, postgresql
, withSqlite ? false, sqlite , withSqlite ? false, sqlite
}: }:
bundlerEnv rec { bundlerApp rec {
name = "ledger-web-${version}"; pname = "ledger_web";
version = (import ./gemset.nix).ledger_web.version;
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "ledger_web" ];
buildInputs = lib.optional withPostgresql postgresql buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite; ++ lib.optional withSqlite sqlite;
@ -17,7 +15,7 @@ bundlerEnv rec {
description = "A web frontend to the Ledger CLI tool"; description = "A web frontend to the Ledger CLI tool";
homepage = https://github.com/peterkeen/ledger-web; homepage = https://github.com/peterkeen/ledger-web;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg manveru ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }

View File

@ -1,29 +1,37 @@
{ {
backports = { backports = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1zcgqw7m7jb8n7b2jwla5cq0nw9wsgddxfmn0a9v89ihzd4i1a5k"; sha256 = "17j5pf0b69bkn043wi4xd530ky53jbbnljr4bsjzlm4k8bzlknfn";
type = "gem"; type = "gem";
}; };
version = "3.6.8"; version = "3.14.0";
}; };
database_cleaner = { database_cleaner = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0fx6zmqznklmkbjl6f713jyl11d4g9q220rcl86m2jp82r8kfwjj"; sha256 = "05i0nf2aj70m61y3fspypdkc6d1qgibf5kav05a71b5gjz0k7y5x";
type = "gem"; type = "gem";
}; };
version = "1.5.3"; version = "1.7.0";
}; };
diff-lcs = { diff-lcs = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1vf9civd41bnqi6brr5d9jifdw73j9khc6fkhfl1f8r9cpkdvlx1"; sha256 = "18w22bjz424gzafv6nzv98h0aqkwz3d9xhm7cbr1wfbyas8zayza";
type = "gem"; type = "gem";
}; };
version = "1.2.5"; version = "1.3";
}; };
directory_watcher = { directory_watcher = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0fwc2shba7vks262ind74y3g76qp7znjq5q8b2dvza0yidgywhcq"; sha256 = "0fwc2shba7vks262ind74y3g76qp7znjq5q8b2dvza0yidgywhcq";
@ -33,6 +41,8 @@
}; };
ledger_web = { ledger_web = {
dependencies = ["database_cleaner" "directory_watcher" "pg" "rack" "rspec" "sequel" "sinatra" "sinatra-contrib" "sinatra-session"]; dependencies = ["database_cleaner" "directory_watcher" "pg" "rack" "rspec" "sequel" "sinatra" "sinatra-contrib" "sinatra-session"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0i4vagaiyayymlr41rsy4lg2cl1r011ib0ql9dgjadfy6imb4kqh"; sha256 = "0i4vagaiyayymlr41rsy4lg2cl1r011ib0ql9dgjadfy6imb4kqh";
@ -41,119 +51,146 @@
version = "1.5.2"; version = "1.5.2";
}; };
multi_json = { multi_json = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1wpc23ls6v2xbk3l1qncsbz16npvmw8p0b38l8czdzri18mp51xk"; sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem"; type = "gem";
}; };
version = "1.12.1"; version = "1.13.1";
};
mustermann = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0lycgkmnyy0bf29nnd2zql5a6pcf8sp69g9v4xw0gcfcxgpwp7i1";
type = "gem";
};
version = "1.0.3";
}; };
pg = { pg = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "07dv4ma9xd75xpsnnwwg1yrpwpji7ydy0q1d9dl0yfqbzpidrw32"; sha256 = "0fmnyxcyrvgdbgq7m09whgn9i8rwfybk0w8aii1nc4g5kqw0k2jy";
type = "gem"; type = "gem";
}; };
version = "0.18.4"; version = "1.1.4";
}; };
rack = { rack = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1g9926ln2lw12lfxm4ylq1h6nl0rafl10za3xvjzc87qvnqic87f"; sha256 = "0z90vflxbgjy2n84r7mbyax3i2vyvvrxxrf86ljzn5rw65jgnn2i";
type = "gem"; type = "gem";
}; };
version = "1.6.11"; version = "2.0.7";
}; };
rack-protection = { rack-protection = {
dependencies = ["rack"]; dependencies = ["rack"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r"; sha256 = "15167q25rmxipqwi6hjqj3i1byi9iwl3xq9b7mdar7qiz39pmjsk";
type = "gem"; type = "gem";
}; };
version = "1.5.3"; version = "2.0.5";
};
rack-test = {
dependencies = ["rack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0h6x5jq24makgv2fq5qqgjlrk74dxfy62jif9blk43llw8ib2q7z";
type = "gem";
};
version = "0.6.3";
}; };
rspec = { rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"]; dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "16g3mmih999f0b6vcz2c3qsc7ks5zy4lj1rzjh8hf6wk531nvc6s"; sha256 = "15ppasvb9qrscwlyjz67ppw1lnxiqnkzx5vkx1bd8x5n3dhikxc3";
type = "gem"; type = "gem";
}; };
version = "3.5.0"; version = "3.8.0";
}; };
rspec-core = { rspec-core = {
dependencies = ["rspec-support"]; dependencies = ["rspec-support"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "12yndf7y6g3s1306bv1aycsmd0gjy5m172spdhx54svca2fcpzy1"; sha256 = "1p1s5bnbqp3sxk67y0fh0x884jjym527r0vgmhbm81w7aq6b7l4p";
type = "gem"; type = "gem";
}; };
version = "3.5.2"; version = "3.8.0";
}; };
rspec-expectations = { rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"]; dependencies = ["diff-lcs" "rspec-support"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0bbqfrb1x8gmwf8x2xhhwvvlhwbbafq4isbvlibxi6jk602f09gs"; sha256 = "1c4gs5ybf7km0qshdm92p38zvg32n1j2kr5fgs2icacz7xf2y6fy";
type = "gem"; type = "gem";
}; };
version = "3.5.0"; version = "3.8.3";
}; };
rspec-mocks = { rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"]; dependencies = ["diff-lcs" "rspec-support"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nl3ksivh9wwrjjd47z5dggrwx40v6gpb3a0gzbp1gs06a5dmk24"; sha256 = "06y508cjqycb4yfhxmb3nxn0v9xqf17qbd46l1dh4xhncinr4fyp";
type = "gem"; type = "gem";
}; };
version = "3.5.0"; version = "3.8.0";
}; };
rspec-support = { rspec-support = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10vf3k3d472y573mag2kzfsfrf6rv355s13kadnpryk8d36yq5r0"; sha256 = "0p3m7drixrlhvj2zpc38b11x145bvm311x6f33jjcxmvcm0wq609";
type = "gem"; type = "gem";
}; };
version = "3.5.0"; version = "3.8.0";
}; };
sequel = { sequel = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "11vdpr3r4dwhcan16gs4gjm2k21y9qz7ri5w2zz54pmnxp499cjw"; sha256 = "0lwkc9kf4jn1x1ph4mgy4saiw2dirq6fhnkpyd0zq8rj1d0nay9a";
type = "gem"; type = "gem";
}; };
version = "4.37.0"; version = "5.19.0";
}; };
sinatra = { sinatra = {
dependencies = ["rack" "rack-protection" "tilt"]; dependencies = ["mustermann" "rack" "rack-protection" "tilt"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1b81kbr65mmcl9cdq2r6yc16wklyp798rxkgmm5pr9fvsj7jwmxp"; sha256 = "1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry";
type = "gem"; type = "gem";
}; };
version = "1.4.7"; version = "2.0.5";
}; };
sinatra-contrib = { sinatra-contrib = {
dependencies = ["backports" "multi_json" "rack-protection" "rack-test" "sinatra" "tilt"]; dependencies = ["backports" "multi_json" "mustermann" "rack-protection" "sinatra" "tilt"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0vi3i0icbi2figiayxpvxbqpbn1syma7w4p4zw5mav1ln4c7jnfr"; sha256 = "093blvpfy5n7s8knaav9a4pm4j7kck9zidwz942qqd4g99fnk443";
type = "gem"; type = "gem";
}; };
version = "1.4.7"; version = "2.0.5";
}; };
sinatra-session = { sinatra-session = {
dependencies = ["sinatra"]; dependencies = ["sinatra"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "183xl8i4d2hc03afd1i52gwn2xi3vzrv02g22llhfy5wkmm44gmq"; sha256 = "183xl8i4d2hc03afd1i52gwn2xi3vzrv02g22llhfy5wkmm44gmq";
@ -162,11 +199,13 @@
version = "1.0.0"; version = "1.0.0";
}; };
tilt = { tilt = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0lgk8bfx24959yq1cn55php3321wddw947mgj07bxfnwyipy9hqf"; sha256 = "0ca4k0clwf0rkvy7726x4nxpjxkpv67w043i39saxgldxd97zmwz";
type = "gem"; type = "gem";
}; };
version = "2.0.5"; version = "2.0.9";
}; };
} }

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "notes-up"; pname = "notes-up";
version = "2.0.0"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Philip-Scott"; owner = "Philip-Scott";
repo = "Notes-up"; repo = "Notes-up";
rev = version; rev = version;
sha256 = "16bb9ffsg2csps1cb636rff5vc6f1yyhg65g3y5b4wf2hlbmzgql"; sha256 = "14vnnr18v374daz8ag5gc2sqr3jxbwrj11mmfz8l57xi2mwhn53z";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,2 +0,0 @@
source 'https://rubygems.org'
gem 'ppl'

View File

@ -1,34 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
colored (1.2)
greencard (0.0.5)
i18n (0.7.0)
inifile (2.0.2)
mail (2.5.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
morphine (0.1.1)
polyglot (0.3.5)
ppl (2.4.0)
colored (= 1.2)
greencard (= 0.0.5)
inifile (= 2.0.2)
mail (= 2.5.3)
morphine (= 0.1.1)
rugged (= 0.17.0.b6)
rugged (0.17.0.b6)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
PLATFORMS
ruby
DEPENDENCIES
ppl
BUNDLED WITH
1.12.5

View File

@ -1,36 +0,0 @@
{ stdenv, lib, bundlerEnv, ruby, makeWrapper, which }:
let
pname = "ppl-address-book";
version = (import ./gemset.nix).ppl.version;
env = bundlerEnv rec {
name = "${pname}-env-${version}";
inherit ruby;
gemdir = ./.;
gemConfig.rugged = attrs: { buildInputs = [ which ]; };
};
in stdenv.mkDerivation {
name = "${pname}-${version}";
phases = [ "installPhase" ];
buildInputs = [ env makeWrapper ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/ppl $out/bin/ppl
'';
meta = with lib; {
description = "Address book software for command-line users";
homepage = http://ppladdressbook.org/;
license = with licenses; mit;
maintainers = with maintainers; [ chris-martin ];
platforms = platforms.unix;
};
}

View File

@ -1,90 +0,0 @@
{
colored = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx";
type = "gem";
};
version = "1.2";
};
greencard = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "11pxrl1w8c7m7rmnnmdaplrv53qgylyvkv8bzsfyjna7k16hynvq";
type = "gem";
};
version = "0.0.5";
};
i18n = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758";
type = "gem";
};
version = "0.7.0";
};
inifile = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "03rpacxnrnisjhd2zhc7629ica958bkdbakicl5kipw1wbprck25";
type = "gem";
};
version = "2.0.2";
};
mail = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1afr3acz7vsvr4gp6wnrkw1iwbjhf14mh8g8mlm40r86wcwzr39k";
type = "gem";
};
version = "2.5.3";
};
mime-types = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mhzsanmnzdshaba7gmsjwnv168r1yj8y0flzw88frw1cickrvw8";
type = "gem";
};
version = "1.25.1";
};
morphine = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "05aw93cijd1gq39ikw2dw3i2c79bjq05kvxrs81mqxqdlini5wwa";
type = "gem";
};
version = "0.1.1";
};
polyglot = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr";
type = "gem";
};
version = "0.3.5";
};
ppl = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vpp4s12ggbk5kpl9z1i7vi9vvghgxrc8my35yk8knckg5waxg47";
type = "gem";
};
version = "2.4.0";
};
rugged = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "025rj3rkj5yxf4pjj1s8x4yzshlyni3hgrjwhggg54nvw6b688qi";
type = "gem";
};
version = "0.17.0.b6";
};
treetop = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1zqj5y0mvfvyz11nhsb4d5ch0i0rfcyj64qx19mw4qhg3hh8z9pz";
type = "gem";
};
version = "1.4.15";
};
}

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "spice-up"; pname = "spice-up";
version = "1.8.0"; version = "1.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Philip-Scott"; owner = "Philip-Scott";
repo = "Spice-up"; repo = "Spice-up";
rev = version; rev = version;
sha256 = "0jbqgf936pqss8ha27fcyjbhvkn4ij96b3d87c6gcx90glmq33zb"; sha256 = "0vgs2z6yr0d5vwb04wd2s22144pdrjhqik9xs69q4dxjxa84iw0h";
}; };
USER = "pbuilder"; USER = "pbuilder";

View File

@ -2,18 +2,23 @@
buildGoPackage rec { buildGoPackage rec {
name = "git-bug-${version}"; name = "git-bug-${version}";
version = "0.4.0"; version = "0.5.0";
rev = "2ab2412771d58a1b1f3bfeb5a6e9da2e683b0e12"; rev = "8d7a2c076a38c89085fd3191a2998efb659650c2";
goPackagePath = "github.com/MichaelMure/git-bug"; goPackagePath = "github.com/MichaelMure/git-bug";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;
owner = "MichaelMure"; owner = "MichaelMure";
repo = "git-bug"; repo = "git-bug";
sha256 = "1zyvyg0p5h71wvyxrzkr1bwddxm3x8p44n6wh9ccfdxp8d2k6k25"; sha256 = "1l86m0y360lmpmpw2id0k7zc2nyq1irr26k2ik06lxhzvpbyajz6";
}; };
goDeps = ./deps.nix; buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/commands.GitCommit=${rev}
-X ${goPackagePath}/commands.GitLastTag=${version}
-X ${goPackagePath}/commands.GitExactTag=${version}
'';
postInstall = '' postInstall = ''
cd go/src/${goPackagePath} cd go/src/${goPackagePath}

View File

@ -1,417 +0,0 @@
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
[
{
goPackagePath = "github.com/99designs/gqlgen";
fetch = {
type = "git";
url = "https://github.com/99designs/gqlgen";
rev = "636435b68700211441303f1a5ed92f3768ba5774";
sha256 = "0d4sr6kpyn3zq3kpvk8lizy7hdpcw3fjmv7fbv2m1k9w8fzjawrz";
};
}
{
goPackagePath = "github.com/agnivade/levenshtein";
fetch = {
type = "git";
url = "https://github.com/agnivade/levenshtein";
rev = "3d21ba515fe27b856f230847e856431ae1724adc";
sha256 = "0dym3k3ycsj0zj0p4dhdp7gd2hm7c7pyh2wii1mdbmpdyipy99cd";
};
}
{
goPackagePath = "github.com/cheekybits/genny";
fetch = {
type = "git";
url = "https://github.com/cheekybits/genny";
rev = "9127e812e1e9e501ce899a18121d316ecb52e4ba";
sha256 = "1z57ga9c2sjnl5ngqgb1ap0zqv36sk0rarm02bbbkipz4m9yabjg";
};
}
{
goPackagePath = "github.com/corpix/uarand";
fetch = {
type = "git";
url = "https://github.com/corpix/uarand";
rev = "2b8494104d86337cdd41d0a49cbed8e4583c0ab4";
sha256 = "06ml5m8l9wbr96gvyg6z1syawn797f8kmq74nhgry3vqpngyb6yn";
};
}
{
goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
type = "git";
url = "https://github.com/cpuguy83/go-md2man";
rev = "20f5889cbdc3c73dbd2862796665e7c465ade7d1";
sha256 = "1w22dfdamsq63b5rvalh9k2y7rbwfkkjs7vm9vd4a13h2ql70lg2";
};
}
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
{
goPackagePath = "github.com/dustin/go-humanize";
fetch = {
type = "git";
url = "https://github.com/dustin/go-humanize";
rev = "9f541cc9db5d55bce703bd99987c9d5cb8eea45e";
sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
};
}
{
goPackagePath = "github.com/fatih/color";
fetch = {
type = "git";
url = "https://github.com/fatih/color";
rev = "5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4";
sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
};
}
{
goPackagePath = "github.com/go-test/deep";
fetch = {
type = "git";
url = "https://github.com/go-test/deep";
rev = "6592d9cc0a499ad2d5f574fde80a2b5c5cc3b4f5";
sha256 = "0f4rbdl6qmlq4bzh0443i634bm675bbrkyzwp8wkc1yhdl9qsij7";
};
}
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "aa810b61a9c79d51363740d207bb46cf8e620ed5";
sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
};
}
{
goPackagePath = "github.com/google/go-cmp";
fetch = {
type = "git";
url = "https://github.com/google/go-cmp";
rev = "3af367b6b30c263d47e8895973edcca9a49cf029";
sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
};
}
{
goPackagePath = "github.com/gorilla/context";
fetch = {
type = "git";
url = "https://github.com/gorilla/context";
rev = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42";
sha256 = "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4";
};
}
{
goPackagePath = "github.com/gorilla/mux";
fetch = {
type = "git";
url = "https://github.com/gorilla/mux";
rev = "e3702bed27f0d39777b0b37b664b6280e8ef8fbf";
sha256 = "0pvzm23hklxysspnz52mih6h1q74vfrdhjfm1l3sa9r8hhqmmld2";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b";
sha256 = "1bhgs2542qs49p1dafybqxfs2qc072xv41w5nswyrknwyjxxs2a1";
};
}
{
goPackagePath = "github.com/hashicorp/golang-lru";
fetch = {
type = "git";
url = "https://github.com/hashicorp/golang-lru";
rev = "20f1fb78b0740ba8c3cb143a61e86ba5c8669768";
sha256 = "12k2cp2k615fjvfa5hyb9k2alian77wivds8s65diwshwv41939f";
};
}
{
goPackagePath = "github.com/icrowley/fake";
fetch = {
type = "git";
url = "https://github.com/icrowley/fake";
rev = "4178557ae428460c3780a381c824a1f3aceb6325";
sha256 = "1mv4bxfphaqbvacy49v4lf4gf2nmadzpmjq0jbdx93wi5bnkc977";
};
}
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
{
goPackagePath = "github.com/jroimartin/gocui";
fetch = {
type = "git";
url = "https://github.com/jroimartin/gocui";
rev = "c055c87ae801372cd74a0839b972db4f7697ae5f";
sha256 = "1b1cbjg925l1c5v3ls8amni9716190yzf847cqs9wjnj82z8qa47";
};
}
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
};
}
{
goPackagePath = "github.com/mattn/go-isatty";
fetch = {
type = "git";
url = "https://github.com/mattn/go-isatty";
rev = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39";
sha256 = "06w45aqz2a6yrk25axbly2k5wmsccv8cspb94bfmz4izvw8h927n";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "9e777a8366cce605130a531d2cd6363d07ad7317";
sha256 = "0vkrfrz3fzn5n6ix4k8s0cg0b448459sldq8bp4riavsxm932jzb";
};
}
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
rev = "fa473d140ef3c6adf42d6b391fe76707f1f243c8";
sha256 = "0f06q4fpzg0c370cvmpsl0iq2apl5nkbz5cd3nba5x5ysmshv1lm";
};
}
{
goPackagePath = "github.com/nsf/termbox-go";
fetch = {
type = "git";
url = "https://github.com/nsf/termbox-go";
rev = "5c94acc5e6eb520f1bcd183974e01171cc4c23b3";
sha256 = "1fi8imdgwvlsgifw2qfl3ww0lsrgkfsimkzz7bnrq41nar78s0fw";
};
}
{
goPackagePath = "github.com/phayes/freeport";
fetch = {
type = "git";
url = "https://github.com/phayes/freeport";
rev = "b8543db493a5ed890c5499e935e2cad7504f3a04";
sha256 = "1gwaan8fwmc5lfx4dzymq0jd6z2l1frg83jkmjpm4kw8ay4vr11q";
};
}
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
rev = "645ef00459ed84a119197bfb8d8205042c6df63d";
sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
};
}
{
goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
type = "git";
url = "https://github.com/pmezard/go-difflib";
rev = "792786c7400a136282c1664665ae0a8db921c6c2";
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
{
goPackagePath = "github.com/russross/blackfriday";
fetch = {
type = "git";
url = "https://github.com/russross/blackfriday";
rev = "55d61fa8aa702f59229e6cff85793c22e580eaf5";
sha256 = "0qmavm5d14kj6im6sqzpqnlhpy524428vkn4hnfwknndr9rycmn0";
};
}
{
goPackagePath = "github.com/shurcooL/githubv4";
fetch = {
type = "git";
url = "https://github.com/shurcooL/githubv4";
rev = "b5f70540eee0ebfb6a27b52fc5b131be76415539";
sha256 = "0hrjk16l8jwkhrbzcasp4dflv6hl24hcc4q2md5rn6i8f73dl18h";
};
}
{
goPackagePath = "github.com/shurcooL/go";
fetch = {
type = "git";
url = "https://github.com/shurcooL/go";
rev = "9e1955d9fb6e1ee2345ba1f5e71669263e719e27";
sha256 = "1lad9bvs75jsn61cfza19739c2c057k0bqxg2b4xz3z3l4w1mkqj";
};
}
{
goPackagePath = "github.com/shurcooL/graphql";
fetch = {
type = "git";
url = "https://github.com/shurcooL/graphql";
rev = "365899397c9ad12805631fe4c9b2a64be9d74818";
sha256 = "10n4id76zpj5g4hr1ry8d9v5cvm039rygrpgdk4ygk198vhr0gwm";
};
}
{
goPackagePath = "github.com/shurcooL/httpfs";
fetch = {
type = "git";
url = "https://github.com/shurcooL/httpfs";
rev = "809beceb23714880abc4a382a00c05f89d13b1cc";
sha256 = "1hvj5q5kjw83z7f77y03fqfg7fps7pqj2cj2c38x752m0pq4j2w3";
};
}
{
goPackagePath = "github.com/shurcooL/vfsgen";
fetch = {
type = "git";
url = "https://github.com/shurcooL/vfsgen";
rev = "62bca832be04bd2bcaabd3b68a6b19a7ec044411";
sha256 = "1lh8sw7qxs43jj8k9pfn91kfy2033p3il9bcb63whz8zhqw2a16y";
};
}
{
goPackagePath = "github.com/skratchdot/open-golang";
fetch = {
type = "git";
url = "https://github.com/skratchdot/open-golang";
rev = "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c";
sha256 = "1b67imqbsdvg19vif1q1dfmapxy3v2anagacbql95fwnnw0v8jga";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "ef82de70bb3f60c65fb8eebacbb2d122ef517385";
sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "583c0c0531f06d5278b7d917446061adc344b5cd";
sha256 = "0nr4mdpfhhk94hq4ymn5b2sxc47b29p1akxd8b0hx4dvdybmipb5";
};
}
{
goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
rev = "f35b8ab0b5a2cef36673838d662e249dd9c94686";
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
};
}
{
goPackagePath = "github.com/vektah/gqlgen";
fetch = {
type = "git";
url = "https://github.com/vektah/gqlgen";
rev = "636435b68700211441303f1a5ed92f3768ba5774";
sha256 = "0d4sr6kpyn3zq3kpvk8lizy7hdpcw3fjmv7fbv2m1k9w8fzjawrz";
};
}
{
goPackagePath = "github.com/vektah/gqlparser";
fetch = {
type = "git";
url = "https://github.com/vektah/gqlparser";
rev = "14e83ae06ec152e6d0afb9766a00e0c0918aa8fc";
sha256 = "162j259402pa2wb4645z6gplx5g1a2sfk393k2svwgws3bg2bws2";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "0e37d006457bf46f9e6692014ba72ef82c33022c";
sha256 = "1fj8rvrhgv5j8pmckzphvm3sqkzhcqp3idkxvgv13qrjdfycsa5r";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "2f5d2388922f370f4355f327fcf4cfe9f5583908";
sha256 = "03s92ygxfrd2c1m4697sd6iksgbar6c007w1yf3h6wmd79vr5dxs";
};
}
{
goPackagePath = "golang.org/x/oauth2";
fetch = {
type = "git";
url = "https://go.googlesource.com/oauth2";
rev = "d2e6202438beef2727060aa7cabdd924d92ebfd9";
sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "ac767d655b305d4e9612f5f6e33120b9176c4ad4";
sha256 = "1ds29n5lh4j21hmzxz7vk7hv1k6sixc7f0zsdc9xqdg0j7d212zm";
};
}
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "a434f64ace81347eff0fb4a32bc80a235e0ad762";
sha256 = "0zngnxrxjync4caz6ikmv5v0cn895iqhqmzqg9qddfm5bvl2a2my";
};
}
{
goPackagePath = "google.golang.org/appengine";
fetch = {
type = "git";
url = "https://github.com/golang/appengine";
rev = "ae0ab99deb4dc413a2b4bd6c8bdd0eb67f1e4d06";
sha256 = "1iabxnqgxvvn1239i6fvfl375vlbvhfrc03m1x2rvalmx4d6w9c7";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://github.com/go-yaml/yaml";
rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
};
}
{
goPackagePath = "gotest.tools";
fetch = {
type = "git";
url = "https://github.com/gotestyourself/gotest.tools";
rev = "b6e20af1ed078cd01a6413b734051a292450b4cb";
sha256 = "11k6hmfhaf0qxpddp3i5kfpacdx51q6pv4n1kn3jnf1hjs0yny2k";
};
}
]

View File

@ -11,6 +11,7 @@
, libXdmcp , libXdmcp
, qtbase , qtbase
, qtx11extras , qtx11extras
, qtsvg
, speex , speex
, libv4l , libv4l
, x264 , x264
@ -36,13 +37,13 @@ let
optional = stdenv.lib.optional; optional = stdenv.lib.optional;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "obs-studio-${version}"; name = "obs-studio-${version}";
version = "23.0.2"; version = "23.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jp9000"; owner = "jp9000";
repo = "obs-studio"; repo = "obs-studio";
rev = "${version}"; rev = "${version}";
sha256 = "1c0a5vy4h3qwz69qw3bydyk7r651ib5a9jna4yj6c25p3p9isdvp"; sha256 = "1iavrkjp7vgg0blm4lmj4mc4hrfx8yjaiwx55wmc5ynw80v37ybc";
}; };
nativeBuildInputs = [ cmake nativeBuildInputs = [ cmake
@ -60,6 +61,7 @@ in stdenv.mkDerivation rec {
libXdmcp libXdmcp
qtbase qtbase
qtx11extras qtx11extras
qtsvg
speex speex
x264 x264
vlc vlc

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub { stdenv, fetchFromGitHub, fetchpatch
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig , cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
, libX11, freefont_ttf, nettle, libconfig , libX11, freefont_ttf, nettle, libconfig
}: }:
@ -21,6 +21,15 @@ stdenv.mkDerivation rec {
libX11 freefont_ttf nettle libconfig cmake libX11 freefont_ttf nettle libconfig cmake
]; ];
patches = [
# Fix obsolete spice header usage. Remove with the next release. See https://github.com/gnif/LookingGlass/pull/126
(fetchpatch {
url = "https://github.com/gnif/LookingGlass/commit/2567447b24b28458ba0f09c766a643ad8d753255.patch";
sha256 = "04j2h75rpxd71szry15f31r6s0kgk96i8q9khdv9q3i2fvkf242n";
stripLen = 1;
})
];
enableParallelBuilding = true; enableParallelBuilding = true;
sourceRoot = "source/client"; sourceRoot = "source/client";

View File

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, cairo, gdk_pixbuf
}:
stdenv.mkDerivation rec {
name = "swaybg-${version}";
version = "1.0";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swaybg";
rev = version;
sha256 = "1lmqz5bmig90gq2m7lwf02d2g7z4hzf8fhqz78c8vk92c6p4xwbc";
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols cairo gdk_pixbuf ];
mesonFlags = [
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
];
meta = with stdenv.lib; {
description = "Wallpaper tool for Wayland compositors";
longDescription = ''
A wallpaper utility for Wayland compositors, that is compatible with any
Wayland compositor which implements the following Wayland protocols:
wlr-layer-shell, xdg-output, and xdg-shell.
'';
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}

View File

@ -5,15 +5,19 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "swayidle-${version}"; name = "swayidle-${version}";
version = "1.2"; version = "1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "swaywm"; owner = "swaywm";
repo = "swayidle"; repo = "swayidle";
rev = version; rev = version;
sha256 = "0b65flajwn2i6k2kdxxgw25w7ikzzmm595f4j5x1wac1rb0yah9w"; sha256 = "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v";
}; };
postPatch = ''
sed -iE "s/version: '1\.2',/version: '${version}',/" meson.build
'';
nativeBuildInputs = [ meson ninja pkgconfig scdoc ]; nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols systemd ]; buildInputs = [ wayland wayland-protocols systemd ];

View File

@ -5,19 +5,23 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "swaylock-${version}"; name = "swaylock-${version}";
version = "1.3"; version = "1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "swaywm"; owner = "swaywm";
repo = "swaylock"; repo = "swaylock";
rev = version; rev = version;
sha256 = "093nv1y9wyg48rfxhd36qdljjry57v1vkzrlc38mkf6zvsq8j7wb"; sha256 = "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982";
}; };
postPatch = ''
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
'';
nativeBuildInputs = [ meson ninja pkgconfig scdoc ]; nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ]; buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ];
mesonFlags = [ "-Dswaylock-version=${version}" mesonFlags = [
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled" "-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
]; ];

View File

@ -68,7 +68,7 @@ for arg; do
--leave-dotGit) leaveDotGit=true;; --leave-dotGit) leaveDotGit=true;;
--fetch-submodules) fetchSubmodules=true;; --fetch-submodules) fetchSubmodules=true;;
--builder) builder=true;; --builder) builder=true;;
--help) usage; exit;; -h|--help) usage; exit;;
*) *)
: $((++argi)) : $((++argi))
case $argi in case $argi in

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qogir-theme"; pname = "qogir-theme";
version = "2019-04-07"; version = "2019-05-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vinceliuice"; owner = "vinceliuice";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0knv35xb4rg4pddxc78hd8frnlm8n0za1yj51ydwskn9b0qqcyhs"; sha256 = "031nqr47b3x8ahcym7cfc75y8sy53dcmrrrlywi7m1a10ckfp0pd";
}; };
buildInputs = [ gdk_pixbuf librsvg ]; buildInputs = [ gdk_pixbuf librsvg ];

View File

@ -4,13 +4,13 @@
let let
pname = "gnome-calendar"; pname = "gnome-calendar";
version = "3.32.0"; version = "3.32.1";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0fyy1slcvc32nz37clps7lz3w40i30fj93fc5m0rqk664w682ys4"; sha256 = "1wip968nvp1yj34hbpc3wjbrmrgjm1f82ag5ngv90z38953vi9vl";
}; };
passthru = { passthru = {

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gnome-weather-${version}"; name = "gnome-weather-${version}";
version = "3.32.1"; version = "3.32.2";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-weather/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/gnome-weather/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0xhfnm358hnbjiw084b732aalzdwyvyaqpabkplw81li9k4bmw54"; sha256 = "0jfxdfbjkrk3x48w6nxgbmazd6jw1fh4mfw12hlly4rs0cjw698s";
}; };
nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook python3 ]; nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook python3 ];

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "seahorse"; pname = "seahorse";
version = "3.32"; version = "3.32.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1wxcxq6ahlwab8dr83gqml67y95mnk56hsgw19d4h0xjvyz2ym52"; sha256 = "1nh2gahiixj661a3l008yhidx952q50fqgdckg8l0d237wnwp7f6";
}; };
doCheck = true; doCheck = true;

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "epiphany-${version}"; name = "epiphany-${version}";
version = "3.32.1.2"; version = "3.32.2";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1gi6g519i0dldwa8bmp047j9mdf8k0asr3ja2m593dy8pfwlya58"; sha256 = "1yhc8hpylj7i2i15nrbjldhi38xpz7pdwjdj7b358dxsxaghvrwa";
}; };
# Tests need an X display # Tests need an X display

View File

@ -5,13 +5,13 @@
, vala, meson, ninja, libhandy, gsettings-desktop-schemas }: , vala, meson, ninja, libhandy, gsettings-desktop-schemas }:
let let
version = "3.32"; version = "3.32.1";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "gnome-contacts-${version}"; name = "gnome-contacts-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "12vr75d5akhs0fzmjg6j21jrrlr8njdrf9dwhw94k8p73y1gjjgw"; sha256 = "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy";
}; };
propagatedUserEnvPkgs = [ evolution-data-server ]; propagatedUserEnvPkgs = [ evolution-data-server ];

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "geary"; pname = "geary";
version = "3.32.0"; version = "3.32.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1mxlzkmwzg1fyf4r1izwnskm5z681c6hiby48n606n89gjcq565j"; sha256 = "07y5ii5bn7fgdpr88307fwxiafm5fwdxmzwhi6h1y4z880nnzp7f";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -22,10 +22,13 @@ assert (stdenv.hostPlatform != stdenv.buildPlatform) -> !enableSharedLibraries;
let let
src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z"; src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z";
# Used when creating a version-suffixed symlink of libLLVM.dylib # Used when creating a versioned symlinks of libLLVM.dylib
shortVersion = with stdenv.lib; versionSuffixes = with stdenv.lib;
concatStringsSep "." (take 2 (splitString "." version)); let parts = splitString "." version; in
in stdenv.mkDerivation rec { imap (i: _: concatStringsSep "." (take i parts)) parts;
in
stdenv.mkDerivation {
name = "llvm-${version}"; name = "llvm-${version}";
unpackPhase = '' unpackPhase = ''
@ -153,8 +156,9 @@ in stdenv.mkDerivation rec {
+ stdenv.lib.optionalString (stdenv.isDarwin && enableSharedLibraries) '' + stdenv.lib.optionalString (stdenv.isDarwin && enableSharedLibraries) ''
substituteInPlace "$out/lib/cmake/llvm/LLVMExports-release.cmake" \ substituteInPlace "$out/lib/cmake/llvm/LLVMExports-release.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" --replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib"
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib ${stdenv.lib.concatMapStringsSep "\n" (v: ''
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${version}.dylib ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${v}.dylib
'') versionSuffixes}
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -19,10 +19,13 @@
let let
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s"; src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
# Used when creating a version-suffixed symlink of libLLVM.dylib # Used when creating a versioned symlinks of libLLVM.dylib
shortVersion = with stdenv.lib; versionSuffixes = with stdenv.lib;
concatStringsSep "." (take 2 (splitString "." release_version)); let parts = splitString "." release_version; in
in stdenv.mkDerivation (rec { imap (i: _: concatStringsSep "." (take i parts)) parts;
in
stdenv.mkDerivation (rec {
name = "llvm-${version}"; name = "llvm-${version}";
unpackPhase = '' unpackPhase = ''
@ -136,8 +139,9 @@ in stdenv.mkDerivation (rec {
+ stdenv.lib.optionalString (stdenv.isDarwin && enableSharedLibraries) '' + stdenv.lib.optionalString (stdenv.isDarwin && enableSharedLibraries) ''
substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \ substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" --replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib"
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib ${stdenv.lib.concatMapStringsSep "\n" (v: ''
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${v}.dylib
'') versionSuffixes}
''; '';
doCheck = stdenv.isLinux && (!stdenv.isi686); doCheck = stdenv.isLinux && (!stdenv.isi686);

View File

@ -18,10 +18,13 @@
let let
src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm"; src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
# Used when creating a version-suffixed symlink of libLLVM.dylib # Used when creating a versioned symlinks of libLLVM.dylib
shortVersion = with stdenv.lib; versionSuffixes = with stdenv.lib;
concatStringsSep "." (take 2 (splitString "." release_version)); let parts = splitString "." release_version; in
in stdenv.mkDerivation (rec { imap (i: _: concatStringsSep "." (take i parts)) parts;
in
stdenv.mkDerivation (rec {
name = "llvm-${version}"; name = "llvm-${version}";
unpackPhase = '' unpackPhase = ''
@ -119,8 +122,9 @@ in stdenv.mkDerivation (rec {
substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \ substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" \ --replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" \
--replace "\''${_IMPORT_PREFIX}/lib/libLTO.dylib" "$lib/lib/libLTO.dylib" --replace "\''${_IMPORT_PREFIX}/lib/libLTO.dylib" "$lib/lib/libLTO.dylib"
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib ${stdenv.lib.concatMapStringsSep "\n" (v: ''
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${v}.dylib
'') versionSuffixes}
''; '';
doCheck = stdenv.isLinux && (!stdenv.isi686); doCheck = stdenv.isLinux && (!stdenv.isi686);

View File

@ -21,11 +21,13 @@ let
src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn"; src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
# Used when creating a version-suffixed symlink of libLLVM.dylib # Used when creating a versioned symlinks of libLLVM.dylib
shortVersion = with stdenv.lib; versionSuffixes = with stdenv.lib;
concatStringsSep "." (take 2 (splitString "." release_version)); let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
in
in stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
name = "llvm-${version}"; name = "llvm-${version}";
unpackPhase = '' unpackPhase = ''
@ -133,8 +135,9 @@ in stdenv.mkDerivation (rec {
+ optionalString (stdenv.isDarwin && enableSharedLibraries) '' + optionalString (stdenv.isDarwin && enableSharedLibraries) ''
substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \ substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" --replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib"
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib ${stdenv.lib.concatMapStringsSep "\n" (v: ''
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${v}.dylib
'') versionSuffixes}
''; '';
doCheck = stdenv.isLinux && (!stdenv.isi686); doCheck = stdenv.isLinux && (!stdenv.isi686);

View File

@ -25,9 +25,10 @@ let
src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v"; src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h"; polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
# Used when creating a version-suffixed symlink of libLLVM.dylib # Used when creating a versioned symlinks of libLLVM.dylib
shortVersion = with stdenv.lib; versionSuffixes = with stdenv.lib;
concatStringsSep "." (take 1 (splitString "." release_version)); let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
in stdenv.mkDerivation (rec { in stdenv.mkDerivation (rec {
name = "llvm-${version}"; name = "llvm-${version}";
@ -142,8 +143,9 @@ in stdenv.mkDerivation (rec {
+ optionalString (stdenv.isDarwin && enableSharedLibraries) '' + optionalString (stdenv.isDarwin && enableSharedLibraries) ''
substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \ substituteInPlace "$out/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \
--replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib" --replace "\''${_IMPORT_PREFIX}/lib/libLLVM.dylib" "$lib/lib/libLLVM.dylib"
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib ${stdenv.lib.concatMapStringsSep "\n" (v: ''
ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${v}.dylib
'') versionSuffixes}
''; '';
doCheck = stdenv.isLinux && (!stdenv.isx86_32); doCheck = stdenv.isLinux && (!stdenv.isx86_32);

View File

@ -10,4 +10,4 @@ DEPENDENCIES
matter_compiler matter_compiler
BUNDLED WITH BUNDLED WITH
1.10.6 1.17.2

View File

@ -1,11 +1,9 @@
{ lib, bundlerApp }:
{ lib, bundlerEnv, ruby }: bundlerApp {
pname = "matter_compiler";
bundlerEnv {
name = "matter_compiler-0.5.1";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "matter_compiler" ];
meta = with lib; { meta = with lib; {
description = '' description = ''
@ -14,7 +12,7 @@ bundlerEnv {
''; '';
homepage = https://github.com/apiaryio/matter_compiler/; homepage = https://github.com/apiaryio/matter_compiler/;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ rvlander ]; maintainers = with maintainers; [ rvlander manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,9 +1,12 @@
{ {
"matter_compiler" = { matter_compiler = {
version = "0.5.1"; groups = ["default"];
platforms = [];
source = { source = {
type = "gem"; remotes = ["https://rubygems.org"];
sha256 = "16501zdiqxk34v2d0nlbwrcrjm6g57hrsmsw0crwssn29v5zbykf"; sha256 = "16501zdiqxk34v2d0nlbwrcrjm6g57hrsmsw0crwssn29v5zbykf";
type = "gem";
}; };
version = "0.5.1";
}; };
} }

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }: { stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "5.0.0"; version = "5.1.0";
name = "rtaudio-${version}"; name = "rtaudio-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thestk"; owner = "thestk";
repo = "rtaudio"; repo = "rtaudio";
rev = "${version}"; rev = "${version}";
sha256 = "0jkqnhc2pq31nmq4daxhmqdjgv2qi4ib27hwms2r5zhnmvvzlr67"; sha256 = "1pglnjz907ajlhnlnig3p0sx7hdkpggr8ss7b3wzf1lykzgv9l52";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -9,15 +9,21 @@ stdenv.mkDerivation rec {
sha256 = "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0"; sha256 = "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ autoconf pkgconfig ];
buildInputs = [ autoconf cairo opencv ]; buildInputs = [ cairo opencv ];
postInstall = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
for f in $out/lib/frei0r-1/*.so* ; do
ln -s $f "''${f%.*}.dylib"
done
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://frei0r.dyne.org; homepage = https://frei0r.dyne.org;
description = "Minimalist, cross-platform, shared video plugins"; description = "Minimalist, cross-platform, shared video plugins";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libgpgerror, enableCapabilities ? false, libcap }: { lib, stdenv, fetchpatch, fetchurl, libgpgerror, enableCapabilities ? false, libcap }:
assert enableCapabilities -> stdenv.isLinux; assert enableCapabilities -> stdenv.isLinux;
@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "0ydy7bgra5jbq9mxl5x031nif3m6y3balc6ndw2ngj11wnsjc61h"; sha256 = "0ydy7bgra5jbq9mxl5x031nif3m6y3balc6ndw2ngj11wnsjc61h";
}; };
patches = stdenv.lib.optionals stdenv.isDarwin [
(fetchpatch {
name = "fix-x86_64-apple-darwin.patch";
sha256 = "138sfwl1avpy19320dbd63mskspc1khlc93j1f1zmylxx3w19csi";
url = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=patch;h=71939faa7c54e7b4b28d115e748a85f134876a02";
})
];
buildInputs = buildInputs =
[ libgpgerror ] [ libgpgerror ]
++ lib.optional enableCapabilities libcap; ++ lib.optional enableCapabilities libcap;

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libx86emu-${version}"; name = "libx86emu-${version}";
version = "2.2"; version = "2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wfeldt"; owner = "wfeldt";
repo = "libx86emu"; repo = "libx86emu";
rev = version; rev = version;
sha256 = "10amjaamd6jfwqxrinsbkqmm6jjrwzyqjp8qy3hm71vkg6fr20gy"; sha256 = "158mrg9xb0sb4l3s60084j6i7nr90smpsks9f02gbssk495h2k8l";
}; };
nativeBuildInputs = [ perl ]; nativeBuildInputs = [ perl ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake { stdenv, fetchFromGitHub, catch, cmake
}: }:
let let
@ -6,18 +6,19 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "microsoft_gsl-${version}"; name = "microsoft_gsl-${version}";
version = "2017-02-13"; version = "2.0.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/Microsoft/GSL.git"; owner = "Microsoft";
rev = "3819df6e378ffccf0e29465afe99c3b324c2aa70"; repo = "GSL";
sha256 = "03d17mnx6n175aakin313308q14wzvaa9pd0m1yfk6ckhha4qf35"; rev = "v${version}";
sha256 = "1kxfca9ik934nkzyn34ingkyvwpc09li81cg1yc6vqcrdw51l4ri";
}; };
# build phase just runs the unit tests, so skip it if # build phase just runs the unit tests, so skip it if
# we're doing a cross build # we're doing a cross build
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ catch cmake ];
buildPhase = if nativeBuild then "make" else "true"; buildPhase = if nativeBuild then "make" else "true";
installPhase = '' installPhase = ''

View File

@ -11,7 +11,7 @@
, doxygen , doxygen
}: }:
let version = "7.3.0p2"; let version = "7.3.0p3";
commit = "V${builtins.replaceStrings ["."] ["_"] version}"; commit = "V${builtins.replaceStrings ["."] ["_"] version}";
in stdenv.mkDerivation { in stdenv.mkDerivation {
@ -21,7 +21,7 @@ in stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
name = "occt-${commit}.tar.gz"; name = "occt-${commit}.tar.gz";
url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz"; url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz";
sha256 = "0nc9k1nqpj0n99pr7qkva79irmqhh007dffwghiyzs031zhd7i6w"; sha256 = "0k9c3ypcnjcilq1dhsf6xxbd52gyq4h5rchvp30k3c8ph4ris5pz";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -1,13 +1,22 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }: { stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation rec { stdenv.mkDerivation ({
version = "0.1"; version = "0.1";
name = "ocaml${ocaml.version}-seq-${version}"; name = "ocaml${ocaml.version}-seq-0.1";
meta = {
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
homepage = "https://github.com/c-cube/seq";
inherit (ocaml.meta) platforms;
};
} // (if stdenv.lib.versionOlder ocaml.version "4.07" then {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "c-cube"; owner = "c-cube";
repo = "seq"; repo = "seq";
rev = version; rev = "0.1";
sha256 = "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv"; sha256 = "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv";
}; };
@ -15,11 +24,19 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta.description = "Compatibility package for OCamls standard iterator type starting from 4.07";
description = "Compatibility package for OCamls standard iterator type starting from 4.07";
license = stdenv.lib.licenses.lgpl21; } else {
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage; src = ./src-base;
inherit (ocaml.meta) platforms;
}; dontBuild = true;
}
installPhase = ''
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/seq
cp META $out/lib/ocaml/${ocaml.version}/site-lib/seq
'';
meta.description = "dummy backward-compatibility package for iterators";
}))

View File

@ -0,0 +1,4 @@
name="seq"
version="[distributed with OCaml 4.07 or above]"
description="dummy backward-compatibility package for iterators"
requires=""

View File

@ -1,4 +1,10 @@
{ stdenv, buildPythonPackage, fetchPypi, pyasn1, isPyPy }: { stdenv
, buildPythonPackage
, fetchPypi
, pyasn1
, isPyPy
, pytest
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyasn1-modules"; pname = "pyasn1-modules";
@ -11,6 +17,16 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pyasn1 ]; propagatedBuildInputs = [ pyasn1 ];
checkInputs = [
pytest
];
# running tests through setup.py fails only for python2 for some reason:
# AttributeError: 'module' object has no attribute 'suitetests'
checkPhase = ''
py.test
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A collection of ASN.1-based protocols modules"; description = "A collection of ASN.1-based protocols modules";
homepage = https://pypi.python.org/pypi/pyasn1-modules; homepage = https://pypi.python.org/pypi/pyasn1-modules;

View File

@ -25,18 +25,19 @@ buildPythonPackage rec {
preConfigure = '' preConfigure = ''
sed \ sed \
-e "s/^origincdirs = .*/origincdirs = []/" \ -e "s/origincdirs = .*/origincdirs = []/" \
-e "s/^origlibdirs = .*/origlibdirs = []/" \ -e "s/origlibdirs = .*/origlibdirs = []/" \
-e "/'\/lib\/i386-linux-gnu', '\/lib\/x86_64-linux-gnu']/d" \
-e "/\/include\/smpeg/d" \ -e "/\/include\/smpeg/d" \
-i config_unix.py -i buildconfig/config_unix.py
${lib.concatMapStrings (dep: '' ${lib.concatMapStrings (dep: ''
sed \ sed \
-e "/^origincdirs =/aorigincdirs += ['${lib.getDev dep}/include']" \ -e "/origincdirs =/a\ origincdirs += ['${lib.getDev dep}/include']" \
-e "/^origlibdirs =/aoriglibdirs += ['${lib.getLib dep}/lib']" \ -e "/origlibdirs =/a\ origlibdirs += ['${lib.getLib dep}/lib']" \
-i config_unix.py -i buildconfig/config_unix.py
'') buildInputs '') buildInputs
} }
LOCALBASE=/ ${python.interpreter} config.py LOCALBASE=/ ${python.interpreter} buildconfig/config.py
''; '';
meta = with lib; { meta = with lib; {

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }: { stdenv, buildPythonPackage, fetchPypi, fetchpatch, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.4.0"; version = "0.4.0";
@ -9,8 +9,19 @@ buildPythonPackage rec {
sha256 = "bda0ef48e6a44c091399b12ab4a7e580d2dd8294c222b301f88d7d57f47ba142"; sha256 = "bda0ef48e6a44c091399b12ab4a7e580d2dd8294c222b301f88d7d57f47ba142";
}; };
patches = [
# Fix tests for pytest>=4.2.0. Remove with the next release
(fetchpatch {
url = "https://github.com/RKrahl/pytest-dependency/commit/089395bf77e629ee789666361ee12395d840252c.patch";
sha256 = "1nkha2gndrr3mx11kx2ipxhphqd6wr25hvkrfwzyrispqfhgl0wm";
excludes = [ "doc/src/changelog.rst" ];
})
];
propagatedBuildInputs = [ pytest ]; propagatedBuildInputs = [ pytest ];
checkInputs = [ pytest ];
checkPhase = '' checkPhase = ''
pytest pytest
''; '';

View File

@ -13,9 +13,9 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0" substituteInPlace setup.py --replace "six==1.10.0" "six>=1.10.0"
''; '';
# Do not test on Python 2 darwin because the tests suite gets stuck # Do not test on Python 2 because the tests suite gets stuck
# https://github.com/JBKahn/rednose/issues/23 # https://github.com/NixOS/nixpkgs/issues/60786
doCheck = !(stdenv.isDarwin && isPy27); doCheck = !(isPy27);
checkInputs = [ six ]; checkInputs = [ six ];
propagatedBuildInputs = [ nose colorama termstyle ]; propagatedBuildInputs = [ nose colorama termstyle ];

View File

@ -59,6 +59,4 @@ in
find -L ${basicEnv}/${ruby.gemPath}/gems/${basicEnv.name} \( -wholename "*/man/*.$section" -o -wholename "*/man/man$section/*.$section" \) -print -execdir mkdir -p $mandir \; -execdir cp '{}' $mandir \; find -L ${basicEnv}/${ruby.gemPath}/gems/${basicEnv.name} \( -wholename "*/man/*.$section" -o -wholename "*/man/man$section/*.$section" \) -print -execdir mkdir -p $mandir \; -execdir cp '{}' $mandir \;
done done
''} ''}
${postBuild}
'' ''

View File

@ -406,7 +406,7 @@ in
rugged = attrs: { rugged = attrs: {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake openssl libssh2 zlib ]; buildInputs = [ which cmake openssl libssh2 zlib ];
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
}; };

View File

@ -12,4 +12,4 @@ DEPENDENCIES
drake drake
BUNDLED WITH BUNDLED WITH
1.13.7 1.17.2

View File

@ -1,18 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "drake-0.9.2.0.3.1"; pname = "drake";
gemdir = ./.;
exes = [ "drake" ];
inherit ruby;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
meta = with lib; { meta = with lib; {
description = "A branch of Rake supporting automatic parallelizing of tasks"; description = "A branch of Rake supporting automatic parallelizing of tasks";
homepage = http://quix.github.io/rake/; homepage = http://quix.github.io/rake/;
maintainers = with maintainers; [ romildo manveru ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
}; };
} }

View File

@ -1,5 +1,7 @@
{ {
comp_tree = { comp_tree = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0dj9lkfxcczn67l1j12dcxswrfxxd1zgxa344zk6vqs2gwwhy9m9"; sha256 = "0dj9lkfxcczn67l1j12dcxswrfxxd1zgxa344zk6vqs2gwwhy9m9";
@ -8,6 +10,9 @@
version = "1.1.3"; version = "1.1.3";
}; };
drake = { drake = {
dependencies = ["comp_tree"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "09gkmdshwdmdnkdxi03dv4rk1dip0wdv6dx14wscrmi0jyk86yag"; sha256 = "09gkmdshwdmdnkdxi03dv4rk1dip0wdv6dx14wscrmi0jyk86yag";

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qbs-${version}"; name = "qbs-${version}";
version = "1.12.2"; version = "1.13.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qbs"; owner = "qbs";
repo = "qbs"; repo = "qbs";
rev = "v${version}"; rev = "v${version}";
sha256 = "0spkkq7nmh27rbx61p23fzkxffx3qdhjqw95pqgsbc76xczd45sv"; sha256 = "12zzbhddsgfxyzglknvim0bb7rrnifawnx18g35g1105ybfak607";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];

View File

@ -1,7 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
rake (12.3.1) rake (12.3.2)
PLATFORMS PLATFORMS
ruby ruby
@ -10,4 +10,4 @@ DEPENDENCIES
rake rake
BUNDLED WITH BUNDLED WITH
1.17.1 1.17.2

View File

@ -1,15 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "rake-${(import ./gemset.nix).rake.version}"; pname = "rake";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "rake" ];
meta = with lib; { meta = with lib; {
description = "A software task management and build automation tool"; description = "A software task management and build automation tool";
homepage = https://github.com/ruby/rake; homepage = https://github.com/ruby/rake;
license = with licenses; mit; license = with licenses; mit;
maintainers = with maintainers; [ manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,10 +1,12 @@
{ {
rake = { rake = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1idi53jay34ba9j68c3mfr9wwkg3cd9qh0fn9cg42hv72c6q8dyg"; sha256 = "1sy5a7nh6xjdc9yhcw31jji7ssrf9v5806hn95gbrzr998a2ydjn";
type = "gem"; type = "gem";
}; };
version = "12.3.1"; version = "12.3.2";
}; };
} }

View File

@ -1,3 +1,3 @@
source "https://rubygems.org" source "https://rubygems.org" do
gem 'compass'
gem 'compass' end

View File

@ -1,7 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
chunky_png (1.3.4) chunky_png (1.3.11)
compass (1.0.3) compass (1.0.3)
chunky_png (~> 1.2) chunky_png (~> 1.2)
compass-core (~> 1.0.2) compass-core (~> 1.0.2)
@ -14,15 +14,18 @@ GEM
sass (>= 3.3.0, < 3.5) sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5) compass-import-once (1.0.5)
sass (>= 3.2, < 3.5) sass (>= 3.2, < 3.5)
ffi (1.9.8) ffi (1.10.0)
multi_json (1.11.0) multi_json (1.13.1)
rb-fsevent (0.9.4) rb-fsevent (0.10.3)
rb-inotify (0.9.5) rb-inotify (0.10.0)
ffi (>= 0.5.0) ffi (~> 1.0)
sass (3.4.13) sass (3.4.25)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
compass compass!
BUNDLED WITH
1.17.2

View File

@ -1,16 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "compass-1.0.3"; pname = "compass";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "compass" ];
meta = with lib; { meta = with lib; {
description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain"; description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain";
homepage = https://github.com/Compass/compass; homepage = https://github.com/Compass/compass;
license = with licenses; mit; license = with licenses; mit;
maintainers = with maintainers; [ offline ]; maintainers = with maintainers; [ offline manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,83 +1,96 @@
{ {
"chunky_png" = { chunky_png = {
version = "1.3.4"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "124najs9prqzrzk49h53kap992rmqxj0wni61z2hhsn7mwmgdp9d";
type = "gem"; type = "gem";
sha256 = "0n5xhkj3vffihl3h9s8yjzazqaqcm4p1nyxa1w2dk3fkpzvb0wfw";
}; };
version = "1.3.11";
}; };
"compass" = { compass = {
version = "1.0.3"; dependencies = ["chunky_png" "compass-core" "compass-import-once" "rb-fsevent" "rb-inotify" "sass"];
groups = ["default"];
platforms = [];
source = { source = {
type = "gem"; remotes = ["https://rubygems.org"];
sha256 = "0lfi83w8z75czr0pf0rmj9hda22082h3cmvczl8r1ma9agf88y2c"; sha256 = "0lfi83w8z75czr0pf0rmj9hda22082h3cmvczl8r1ma9agf88y2c";
type = "gem";
}; };
dependencies = [
"chunky_png"
"compass-core"
"compass-import-once"
"rb-fsevent"
"rb-inotify"
"sass"
];
};
"compass-core" = {
version = "1.0.3"; version = "1.0.3";
};
compass-core = {
dependencies = ["multi_json" "sass"];
groups = ["default"];
platforms = [];
source = { source = {
type = "gem"; remotes = ["https://rubygems.org"];
sha256 = "0yaspqwdmzwdcqviclbs3blq7an16pysrfzylz8q1gxmmd6bpj3a"; sha256 = "0yaspqwdmzwdcqviclbs3blq7an16pysrfzylz8q1gxmmd6bpj3a";
};
dependencies = [
"multi_json"
"sass"
];
};
"compass-import-once" = {
version = "1.0.5";
source = {
type = "gem"; type = "gem";
};
version = "1.0.3";
};
compass-import-once = {
dependencies = ["sass"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bn7gwbfz7jvvdd0qdfqlx67fcb83gyvxqc7dr9fhcnks3z8z5rq"; sha256 = "0bn7gwbfz7jvvdd0qdfqlx67fcb83gyvxqc7dr9fhcnks3z8z5rq";
};
dependencies = [
"sass"
];
};
"ffi" = {
version = "1.9.8";
source = {
type = "gem"; type = "gem";
sha256 = "0ph098bv92rn5wl6rn2hwb4ng24v4187sz8pa0bpi9jfh50im879";
}; };
version = "1.0.5";
}; };
"multi_json" = { ffi = {
version = "1.11.0"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
type = "gem"; type = "gem";
sha256 = "1mg3hp17ch8bkf3ndj40s50yjs0vrqbfh3aq5r02jkpjkh23wgxl";
}; };
version = "1.10.0";
}; };
"rb-fsevent" = { multi_json = {
version = "0.9.4"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem"; type = "gem";
sha256 = "12if5xsik64kihxf5awsyavlp595y47g9qz77vfp2zvkxgglaka7";
}; };
version = "1.13.1";
}; };
"rb-inotify" = { rb-fsevent = {
version = "0.9.5"; groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8";
type = "gem"; type = "gem";
sha256 = "0kddx2ia0qylw3r52nhg83irkaclvrncgy2m1ywpbhlhsz1rymb9";
}; };
dependencies = [ version = "0.10.3";
"ffi"
];
}; };
"sass" = { rb-inotify = {
version = "3.4.13"; dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"];
sha256 = "1fs7hxm9g6ywv2yih83b879klhc4fs8i0p9166z795qmd77dk0a4";
type = "gem"; type = "gem";
sha256 = "0wxkjm41xr77pnfi06cbwv6vq0ypbni03jpbpskd7rj5b0zr27ig";
}; };
version = "0.10.0";
};
sass = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kfpcwh8dgw4lc81qglkvjl73689jy3g7196zkxm4fpskg1p5lkw";
type = "gem";
};
version = "3.4.25";
}; };
} }

View File

@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitLab, fetchurl }: { lib, buildGoPackage, fetchFromGitLab, fetchurl }:
let let
version = "11.9.2"; version = "11.10.1";
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64 # Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
docker_x86_64 = fetchurl { docker_x86_64 = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-x86_64.tar.xz"; url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-x86_64.tar.xz";
sha256 = "10zmaywq1vzch4a6zdvnm9kgil9ankc9napix9s9fw45wc0lw01p"; sha256 = "120gpyim54mc8z84gzpbms5hkg2xg4sgzdvkrn1fis9myvd55bav";
}; };
docker_arm = fetchurl { docker_arm = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-arm.tar.xz"; url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/helper-images/prebuilt-arm.tar.xz";
sha256 = "0845ylhb3i3jmi5q6aaix4hw9zdb83v5fhvif0xvvi2m7irg06lf"; sha256 = "0qfqsi1fm94sxv7g975fw0av871f677rp48yv8q5669ipm16n9qk";
}; };
in in
buildGoPackage rec { buildGoPackage rec {
@ -29,7 +29,7 @@ buildGoPackage rec {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitlab-runner"; repo = "gitlab-runner";
rev = "v${version}"; rev = "v${version}";
sha256 = "00k4myca2djd6h3i83vjndahm5q1rnlkq0p69dhl5jbldwy614ph"; sha256 = "1nxv783rdzdwm0qq3li893p7q3n8gg7abla2961f3n735gjlnibx";
}; };
patches = [ ./fix-shell-path.patch ]; patches = [ ./fix-shell-path.patch ];

View File

@ -1,21 +1,27 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
backports (3.14.0)
builder (3.2.3) builder (3.2.3)
cucumber (2.4.0) cucumber (3.1.2)
builder (>= 2.1.2) builder (>= 2.1.2)
cucumber-core (~> 1.5.0) cucumber-core (~> 3.2.0)
cucumber-expressions (~> 6.0.1)
cucumber-wire (~> 0.0.1) cucumber-wire (~> 0.0.1)
diff-lcs (>= 1.1.3) diff-lcs (~> 1.3)
gherkin (~> 4.0) gherkin (~> 5.1.0)
multi_json (>= 1.7.5, < 2.0) multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2) multi_test (>= 0.1.2)
cucumber-core (1.5.0) cucumber-core (3.2.1)
gherkin (~> 4.0) backports (>= 3.8.0)
cucumber-tag_expressions (~> 1.1.0)
gherkin (~> 5.0)
cucumber-expressions (6.0.1)
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1) cucumber-wire (0.0.1)
diff-lcs (1.3) diff-lcs (1.3)
gherkin (4.1.3) gherkin (5.1.0)
multi_json (1.12.1) multi_json (1.13.1)
multi_test (0.1.2) multi_test (0.1.2)
PLATFORMS PLATFORMS
@ -25,4 +31,4 @@ DEPENDENCIES
cucumber cucumber
BUNDLED WITH BUNDLED WITH
1.14.4 1.17.2

View File

@ -1,19 +1,15 @@
{ lib, bundlerEnv, ruby }: { lib, bundlerApp }:
bundlerEnv rec { bundlerApp {
name = "cucumber-${version}"; pname = "cucumber";
gemdir = ./.;
version = (import gemset).cucumber.version; exes = [ "cucumber" ];
inherit ruby;
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
meta = with lib; { meta = with lib; {
description = "A tool for executable specifications"; description = "A tool for executable specifications";
homepage = https://cucumber.io/; homepage = https://cucumber.io/;
license = with licenses; mit; license = with licenses; mit;
maintainers = with maintainers; [ manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,5 +1,17 @@
{ {
backports = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "17j5pf0b69bkn043wi4xd530ky53jbbnljr4bsjzlm4k8bzlknfn";
type = "gem";
};
version = "3.14.0";
};
builder = { builder = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qibi5s67lpdv1wgcj66wcymcr04q6j4mzws6a479n0mlrmh5wr1"; sha256 = "0qibi5s67lpdv1wgcj66wcymcr04q6j4mzws6a479n0mlrmh5wr1";
@ -8,22 +20,50 @@
version = "3.2.3"; version = "3.2.3";
}; };
cucumber = { cucumber = {
dependencies = ["builder" "cucumber-core" "cucumber-expressions" "cucumber-wire" "diff-lcs" "gherkin" "multi_json" "multi_test"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1k4j31a93r0zhvyq2mm2k8irppbvkzbsg44r3mf023959v18fzih"; sha256 = "1s2brssrpal8hyhcgg974x3xyhpmvpwps5ypd9p8w2lg01l1pp3j";
type = "gem"; type = "gem";
}; };
version = "2.4.0"; version = "3.1.2";
}; };
cucumber-core = { cucumber-core = {
dependencies = ["backports" "cucumber-tag_expressions" "gherkin"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0qj2fsqvp94nggnikbnrfvnmzr1pl6ifmdsxj69kdw1kkab30jjr"; sha256 = "1iavlh8hqj9lwljbpkw06259gdicbr1bdb6pbj5yy3n8szgr8k3c";
type = "gem"; type = "gem";
}; };
version = "1.5.0"; version = "3.2.1";
};
cucumber-expressions = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0zwmv6hznyz9vk81f5dhwcr9jhxx2vmbk8yyazayvllvhy0fkpdw";
type = "gem";
};
version = "6.0.1";
};
cucumber-tag_expressions = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cvmbljybws0qzjs1l67fvr9gqr005l8jk1ni5gcsis9pfmqh3vc";
type = "gem";
};
version = "1.1.1";
}; };
cucumber-wire = { cucumber-wire = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "09ymvqb0sbw2if1nxg8rcj33sf0va88ancq5nmp8g01dfwzwma2f"; sha256 = "09ymvqb0sbw2if1nxg8rcj33sf0va88ancq5nmp8g01dfwzwma2f";
@ -32,6 +72,8 @@
version = "0.0.1"; version = "0.0.1";
}; };
diff-lcs = { diff-lcs = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "18w22bjz424gzafv6nzv98h0aqkwz3d9xhm7cbr1wfbyas8zayza"; sha256 = "18w22bjz424gzafv6nzv98h0aqkwz3d9xhm7cbr1wfbyas8zayza";
@ -40,22 +82,28 @@
version = "1.3"; version = "1.3";
}; };
gherkin = { gherkin = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1d18r8mf2qyd9jbq9xxvca8adyysdzvwdy8v9c2s5hrd6p02kg79"; sha256 = "1cgcdchwwdm10rsk44frjwqd4ihprhxjbm799nscqy2q1raqfj5s";
type = "gem"; type = "gem";
}; };
version = "4.1.3"; version = "5.1.0";
}; };
multi_json = { multi_json = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1wpc23ls6v2xbk3l1qncsbz16npvmw8p0b38l8czdzri18mp51xk"; sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem"; type = "gem";
}; };
version = "1.12.1"; version = "1.13.1";
}; };
multi_test = { multi_test = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1sx356q81plr67hg16jfwz9hcqvnk03bd9n75pmdw8pfxjfy1yxd"; sha256 = "1sx356q81plr67hg16jfwz9hcqvnk03bd9n75pmdw8pfxjfy1yxd";

View File

@ -3,23 +3,23 @@ GEM
specs: specs:
arr-pm (0.0.10) arr-pm (0.0.10)
cabin (> 0) cabin (> 0)
backports (3.8.0) backports (3.14.0)
cabin (0.9.0) cabin (0.9.0)
childprocess (0.7.1) childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11) ffi (~> 1.0, >= 1.0.11)
clamp (1.0.1) clamp (1.0.1)
dotenv (2.2.1) dotenv (2.7.2)
ffi (1.9.18) ffi (1.10.0)
fpm (1.9.2) fpm (1.11.0)
arr-pm (~> 0.0.10) arr-pm (~> 0.0.10)
backports (>= 2.6.2) backports (>= 2.6.2)
cabin (>= 0.6.0) cabin (>= 0.6.0)
childprocess childprocess (= 0.9.0)
clamp (~> 1.0.0) clamp (~> 1.0.0)
ffi ffi
json (>= 1.7.7, < 2.0) json (>= 1.7.7, < 2.0)
pleaserun (~> 0.0.29) pleaserun (~> 0.0.29)
ruby-xz ruby-xz (~> 0.2.3)
stud stud
hpricot (0.8.6) hpricot (0.8.6)
insist (1.0.0) insist (1.0.0)
@ -51,4 +51,4 @@ DEPENDENCIES
ronn ronn
BUNDLED WITH BUNDLED WITH
1.16.0 1.17.2

View File

@ -8,7 +8,7 @@ let
}; };
in buildGoPackage rec { in buildGoPackage rec {
name = "ejson-${version}"; name = "ejson-${version}";
version = "1.2.0"; version = "1.2.1";
rev = "v${version}"; rev = "v${version}";
nativeBuildInputs = [ gems ]; nativeBuildInputs = [ gems ];
@ -22,7 +22,7 @@ in buildGoPackage rec {
owner = "Shopify"; owner = "Shopify";
repo = "ejson"; repo = "ejson";
inherit rev; inherit rev;
sha256 = "07ig24fryb9n0mfyqb0sgpj7di9y7wbvh2ppwfs2jqfpvpncd7yh"; sha256 = "09356kp059hbzmqpzlz4b3agg93yqqygh5l5ddbxcsaqx4qiwdr7";
}; };
# set HOME, otherwise bundler will insert stuff in the manpages # set HOME, otherwise bundler will insert stuff in the manpages

View File

@ -15,10 +15,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "17pcz0z6jms5jydr1r95kf1bpk3ms618hgr26c62h34icy9i1dpm"; sha256 = "17j5pf0b69bkn043wi4xd530ky53jbbnljr4bsjzlm4k8bzlknfn";
type = "gem"; type = "gem";
}; };
version = "3.8.0"; version = "3.14.0";
}; };
cabin = { cabin = {
groups = ["default"]; groups = ["default"];
@ -36,10 +36,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "04cypmwyy4aj5p9b5dmpwiz5p1gzdpz6jaxb42fpckdbmkpvn6j1"; sha256 = "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p";
type = "gem"; type = "gem";
}; };
version = "0.7.1"; version = "0.9.0";
}; };
clamp = { clamp = {
groups = ["default"]; groups = ["default"];
@ -56,20 +56,20 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1pgzlvs0sswnqlgfm9gkz2hlhkc0zd3vnlp2vglb1wbgnx37pjjv"; sha256 = "13cis6bf06hmz744xrsl163p6gb78xcm8g8q4pcabsy5ywyv6kag";
type = "gem"; type = "gem";
}; };
version = "2.2.1"; version = "2.7.2";
}; };
ffi = { ffi = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "034f52xf7zcqgbvwbl20jwdyjwznvqnwpbaps9nk18v9lgb1dpx0"; sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
type = "gem"; type = "gem";
}; };
version = "1.9.18"; version = "1.10.0";
}; };
fpm = { fpm = {
dependencies = ["arr-pm" "backports" "cabin" "childprocess" "clamp" "ffi" "json" "pleaserun" "ruby-xz" "stud"]; dependencies = ["arr-pm" "backports" "cabin" "childprocess" "clamp" "ffi" "json" "pleaserun" "ruby-xz" "stud"];
@ -77,10 +77,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "09vzjsiwa2dlhph6fc519x5l0bfn2qfhayfld48cdl2561x5c7fb"; sha256 = "0khzsiqzswxpql6w2ws9dawb27zgv4nmgrjszydmm0xpv6h21jrm";
type = "gem"; type = "gem";
}; };
version = "1.9.2"; version = "1.11.0";
}; };
hpricot = { hpricot = {
groups = ["default"]; groups = ["default"];

View File

@ -13,7 +13,7 @@ buildRustPackage rec {
homepage = https://github.com/nathan/pax; homepage = https://github.com/nathan/pax;
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.klntsky ]; maintainers = [ maintainers.klntsky ];
platforms = platforms.all; platforms = platforms.linux;
}; };
src = src =
@ -26,7 +26,7 @@ buildRustPackage rec {
}; };
cargo-lock = fetchurl { cargo-lock = fetchurl {
url = "https://gist.github.com/8084/c7863424d7df0c379782015f6bb3b399/raw/1cf7481e33984fd1510dc77ed677606d08fa8eb6/Cargo.lock"; url = "https://gist.github.com/klntsky/c7863424d7df0c379782015f6bb3b399/raw/1cf7481e33984fd1510dc77ed677606d08fa8eb6/Cargo.lock";
sha256 = "0ff1b64b99cbca1cc2ceabcd2e4f7bc3411e3a2a9fbb9db2204d9240fe38ddeb"; sha256 = "0ff1b64b99cbca1cc2ceabcd2e4f7bc3411e3a2a9fbb9db2204d9240fe38ddeb";
}; };
in in

View File

@ -2,14 +2,14 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
drydock (0.6.9) drydock (0.6.9)
redis (3.3.0) redis (4.1.0)
redis-dump (0.3.5) redis-dump (0.4.0)
drydock (>= 0.6.9) drydock (>= 0.6.9)
redis (>= 2.0) redis (>= 4.0)
uri-redis (>= 0.4.0) uri-redis (>= 0.4.0)
yajl-ruby (>= 0.1) yajl-ruby (>= 0.1)
uri-redis (0.4.2) uri-redis (0.4.2)
yajl-ruby (1.2.1) yajl-ruby (1.4.1)
PLATFORMS PLATFORMS
ruby ruby
@ -18,4 +18,4 @@ DEPENDENCIES
redis-dump redis-dump
BUNDLED WITH BUNDLED WITH
1.11.2 1.17.2

View File

@ -1,19 +1,15 @@
{ lib, bundlerEnv, ruby, perl, autoconf }: { lib, bundlerApp }:
bundlerEnv { bundlerApp {
name = "redis-dump-0.3.5"; pname = "redis-dump";
inherit ruby;
gemdir = ./.; gemdir = ./.;
exes = [ "redis-dump" ];
buildInputs = [ perl autoconf ];
meta = with lib; { meta = with lib; {
broken = true; # needs ruby 2.0
description = "Backup and restore your Redis data to and from JSON"; description = "Backup and restore your Redis data to and from JSON";
homepage = http://delanotes.com/redis-dump/; homepage = http://delanotes.com/redis-dump/;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ offline ]; maintainers = with maintainers; [ offline manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,5 +1,7 @@
{ {
drydock = { drydock = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0grf3361mh93lczljmnwafl7gbcp9kk1bjpfwx4ykpd43fzdbfyj"; sha256 = "0grf3361mh93lczljmnwafl7gbcp9kk1bjpfwx4ykpd43fzdbfyj";
@ -8,22 +10,29 @@
version = "0.6.9"; version = "0.6.9";
}; };
redis = { redis = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1v68ggm0pwcyml3ngfyngwgvypwmsrmji1kyx48qqcg045zjs5p6"; sha256 = "0rk6mmy3y2jd34llrf591ribl1p54ghkw7m96wrbamy8fwva5zqv";
type = "gem"; type = "gem";
}; };
version = "3.3.0"; version = "4.1.0";
}; };
redis-dump = { redis-dump = {
dependencies = ["drydock" "redis" "uri-redis" "yajl-ruby"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0y6s3nvcw84jqqvp9pjg9qmqyc0b8jkrp0dknhjjr0lg2q3fq87h"; sha256 = "1gvip73kgm8xvyjmjkz4b986wni9blsmrnpvp5jrsxjz3g0sqzwg";
type = "gem"; type = "gem";
}; };
version = "0.3.5"; version = "0.4.0";
}; };
uri-redis = { uri-redis = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "13n8ak41rikkbmml054pir4i1xbgjpmf3dbqihc2kcrgmz3dg81a"; sha256 = "13n8ak41rikkbmml054pir4i1xbgjpmf3dbqihc2kcrgmz3dg81a";
@ -32,10 +41,13 @@
version = "0.4.2"; version = "0.4.2";
}; };
yajl-ruby = { yajl-ruby = {
groups = ["default"];
platforms = [];
source = { source = {
sha256 = "0zvvb7i1bl98k3zkdrnx9vasq0rp2cyy5n7p9804dqs4fz9xh9vf"; remotes = ["https://rubygems.org"];
sha256 = "16v0w5749qjp13xhjgr2gcsvjv6mf35br7iqwycix1n2h7kfcckf";
type = "gem"; type = "gem";
}; };
version = "1.2.1"; version = "1.4.1";
}; };
} }

View File

@ -1,11 +1,11 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ffi (1.9.23) ffi (1.10.0)
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.9.10) rb-inotify (0.10.0)
ffi (>= 0.5.0, < 2) ffi (~> 1.0)
sass (3.5.6) sass (3.7.4)
sass-listen (~> 4.0.0) sass-listen (~> 4.0.0)
sass-listen (4.0.0) sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4) rb-fsevent (~> 0.9, >= 0.9.4)
@ -18,4 +18,4 @@ DEPENDENCIES
sass sass
BUNDLED WITH BUNDLED WITH
1.14.6 1.17.2

View File

@ -9,7 +9,7 @@ bundlerApp {
description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS"; description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS";
homepage = https://sass-lang.com; homepage = https://sass-lang.com;
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.romildo ]; maintainers = with maintainers; [ romildo manveru ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,13 +1,17 @@
{ {
ffi = { ffi = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0zw6pbyvmj8wafdc7l5h7w20zkp1vbr2805ql5d941g2b20pk4zr"; sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
type = "gem"; type = "gem";
}; };
version = "1.9.23"; version = "1.10.0";
}; };
rb-fsevent = { rb-fsevent = {
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8"; sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8";
@ -17,24 +21,30 @@
}; };
rb-inotify = { rb-inotify = {
dependencies = ["ffi"]; dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0yfsgw5n7pkpyky6a9wkf1g9jafxb0ja7gz0qw0y14fd2jnzfh71"; sha256 = "1fs7hxm9g6ywv2yih83b879klhc4fs8i0p9166z795qmd77dk0a4";
type = "gem"; type = "gem";
}; };
version = "0.9.10"; version = "0.10.0";
}; };
sass = { sass = {
dependencies = ["sass-listen"]; dependencies = ["sass-listen"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "19wyzp9qsg8hdkkxlsv713w0qmy66qrdp0shj42587ssx4qhrlag"; sha256 = "0p95lhs0jza5l7hqci1isflxakz83xkj97lkvxl919is0lwhv2w0";
type = "gem"; type = "gem";
}; };
version = "3.5.6"; version = "3.7.4";
}; };
sass-listen = { sass-listen = {
dependencies = ["rb-fsevent" "rb-inotify"]; dependencies = ["rb-fsevent" "rb-inotify"];
groups = ["default"];
platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df"; sha256 = "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df";

View File

@ -0,0 +1,36 @@
{ stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
, openssl
}:
rustPlatform.buildRustPackage rec {
name = "wasm-pack-${version}";
version = "0.8.1";
src = fetchFromGitHub {
owner = "rustwasm";
repo = "wasm-pack";
rev = "v${version}";
sha256 = "1z66m16n4r16zqmnv84a5jndr5x6mdqdq4b1wq929sablwqd2rl4";
};
cargoSha256 = "0hp68w5mvk725gzbmlgl8j6wa1dv2fydil7jvq0f09mzxxaqrwcs";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ];
# Tests fetch external resources and build artifacts.
# Disabled to work with sandboxing
doCheck = false;
meta = with stdenv.lib; {
description = "A utility that builds rust-generated WebAssembly package";
homepage = https://github.com/rustwasm/wasm-pack;
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.dhkl ];
platforms = platforms.all;
};
}

View File

@ -1,32 +0,0 @@
From fc0a5bd2ddb5827c5288ee284c1f2d834d79e432 Mon Sep 17 00:00:00 2001
From: Rodney Lorrimar <dev@rodney.id.au>
Date: Tue, 16 Oct 2018 09:55:59 +1000
Subject: [PATCH 1/3] Don't use ExternalProject for bcc sources
---
CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eae850a..b20fb33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,15 @@ if (OFFLINE_BUILDS)
UPDATE_DISCONNECTED 1
BUILD_COMMAND ${CMAKE_COMMAND} --build . --target bcc-static
)
+elseif (NIX_BUILDS)
+ include(ExternalProject)
+ ExternalProject_Add(bcc
+ DOWNLOAD_COMMAND rmdir bcc && ln -sf $ENV{bccSrc} bcc
+ STEP_TARGETS build update
+ EXCLUDE_FROM_ALL 1
+ UPDATE_DISCONNECTED 1
+ BUILD_COMMAND ${CMAKE_COMMAND} --build . --target bcc-static
+ )
else()
include(ExternalProject)
ExternalProject_Add(bcc
--
2.17.1

View File

@ -1,57 +1,61 @@
{ stdenv, fetchFromGitHub { stdenv, fetchFromGitHub
, cmake, pkgconfig, flex, bison , cmake, pkgconfig, flex, bison
, llvmPackages, kernel, linuxHeaders, elfutils, libelf, bcc , llvmPackages, kernel, elfutils, libelf, bcc
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bpftrace-unstable-${version}"; name = "bpftrace-${version}";
version = "2018-10-27"; version = "0.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "iovisor"; owner = "iovisor";
repo = "bpftrace"; repo = "bpftrace";
rev = "c07b54f61fd7b7b49e0a254e746d6f442c5d780d"; rev = "refs/tags/v${version}";
sha256 = "1mpcjfyay9akmpqxag2ndwpz1qsdx8ii07jh9fky4w40wi9cipyg"; sha256 = "1kp6as3i67dnw5v3vc1cj5hmrq6c8pjpg9g38g1qcnc9i6drl1r8";
}; };
# bpftrace requires an unreleased version of bcc, added to the cmake enableParallelBuilding = true;
# build as an ExternalProject.
# https://github.com/iovisor/bpftrace/issues/184
bccSrc = fetchFromGitHub {
owner = "iovisor";
repo = "bcc";
rev = "afd00154865f3b2da6781cf92cecebaca4853950";
sha256 = "0ad78smrnipr1f377i5rv6ksns7v2vq54g5badbj5ldqs4x0hygd";
};
buildInputs = [ buildInputs = with llvmPackages;
llvmPackages.llvm llvmPackages.clang-unwrapped kernel [ llvm clang-unwrapped
elfutils libelf bccSrc kernel elfutils libelf bcc
]; ];
nativeBuildInputs = [ cmake pkgconfig flex bison ] nativeBuildInputs = [ cmake pkgconfig flex bison ]
# libelf is incompatible with elfutils-libelf # libelf is incompatible with elfutils-libelf
++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies; ++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies;
patches = [ # patch the source, *then* substitute on @NIX_KERNEL_SRC@ in the result. we could
./bcc-source.patch # also in theory make this an environment variable around bpftrace, but this works
# https://github.com/iovisor/bpftrace/issues/184 # nicely without wrappers.
./disable-gtests.patch patchPhase = ''
]; patch -p1 < ${./fix-kernel-include-dir.patch}
substituteInPlace ./src/clang_parser.cpp \
configurePhase = '' --subst-var-by NIX_KERNEL_SRC '${kernel.dev}/lib/modules/${kernel.modDirVersion}'
mkdir build
cd build
cmake ../ \
-DKERNEL_HEADERS_DIR=${linuxHeaders} \
-DNIX_BUILDS:BOOL=ON \
-DCMAKE_INSTALL_PREFIX=$out
''; '';
# tests aren't built, due to gtest shenanigans. see:
#
# https://github.com/iovisor/bpftrace/issues/161#issuecomment-453606728
# https://github.com/iovisor/bpftrace/pull/363
#
cmakeFlags =
[ "-DBUILD_TESTING=FALSE"
"-DLIBBCC_INCLUDE_DIRS=${bcc}/include/bcc"
];
# nuke the example/reference output .txt files, for the included tools,
# stuffed inside $out. we don't need them at all.
postInstall = ''
rm -rf $out/share/bpftrace/tools/doc
'';
outputs = [ "out" "man" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "High-level tracing language for Linux eBPF"; description = "High-level tracing language for Linux eBPF";
homepage = https://github.com/iovisor/bpftrace; homepage = https://github.com/iovisor/bpftrace;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ rvl ]; maintainers = with maintainers; [ rvl thoughtpolice ];
}; };
} }

View File

@ -1,73 +0,0 @@
From 221eea24674fffb3b657b2bd0c923071b69d48a7 Mon Sep 17 00:00:00 2001
From: Rodney Lorrimar <dev@rodney.id.au>
Date: Tue, 16 Oct 2018 09:56:47 +1000
Subject: [PATCH 2/3] Disable tests
Would prefer to use gtest library in the normal way rather through
ExternalProject.
---
CMakeLists.txt | 4 ++--
tests/CMakeLists.txt | 18 +++++++++++-------
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b20fb33..7025d17 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ add_compile_options("-Wno-format-security")
#add_compile_options("-Wstrict-overflow=5")
#add_compile_options("-Wdisabled-optimization")
-enable_testing()
+# enable_testing()
if (OFFLINE_BUILDS)
include(ExternalProject)
@@ -79,7 +79,7 @@ include_directories(${CLANG_INCLUDE_DIRS})
add_subdirectory(src/arch)
add_subdirectory(src/ast)
add_subdirectory(src)
-add_subdirectory(tests)
+# add_subdirectory(tests)
add_subdirectory(resources)
add_subdirectory(tools)
add_subdirectory(man)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index c283efa..6b5bff0 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -45,6 +45,8 @@ if (OFFLINE_BUILDS)
EXCLUDE_FROM_ALL 1
UPDATE_DISCONNECTED 1
)
+elseif (NIX_BUILDS)
+
else()
include(ExternalProject)
ExternalProject_Add(gtest-git
@@ -54,13 +56,15 @@ else()
EXCLUDE_FROM_ALL 1
)
endif()
-add_dependencies(bpftrace_test gtest-git-build)
-ExternalProject_Get_Property(gtest-git source_dir binary_dir)
-target_include_directories(bpftrace_test PUBLIC ${source_dir}/googletest/include)
-target_include_directories(bpftrace_test PUBLIC ${source_dir}/googlemock/include)
-target_link_libraries(bpftrace_test ${binary_dir}/googlemock/gtest/libgtest.a)
-target_link_libraries(bpftrace_test ${binary_dir}/googlemock/gtest/libgtest_main.a)
-target_link_libraries(bpftrace_test ${binary_dir}/googlemock/libgmock.a)
+
+find_library(LIBGTEST "gtest")
+if(LIBGTEST)
+ set(LIBRARY_DEPENDENCIES
+ ${LIBRARY_DEPENDENCIES}
+ ${LIBGTEST}
+ )
+endif()
+
target_link_libraries(bpftrace_test ${CMAKE_THREAD_LIBS_INIT})
add_test(NAME bpftrace_test COMMAND bpftrace_test)
--
2.17.1

View File

@ -0,0 +1,22 @@
commit b6172952c0150d84912fa6f09bab782dd0549f1e
Author: Austin Seipp <aseipp@pobox.com>
Date: Fri May 3 00:47:12 2019 -0500
src: special case nix build directories for clang
Signed-off-by: Austin Seipp <aseipp@pobox.com>
diff --git a/src/clang_parser.cpp b/src/clang_parser.cpp
index b1db8ff..0cfb01f 100644
--- a/src/clang_parser.cpp
+++ b/src/clang_parser.cpp
@@ -140,6 +140,9 @@ static bool is_dir(const std::string& path)
// Both ksrc and kobj are guaranteed to be != "", if at least some trace of kernel sources was found.
static std::tuple<std::string, std::string> get_kernel_dirs(const struct utsname& utsname)
{
+ // NB (aseipp): special case the kernel directory for nix
+ return { "@NIX_KERNEL_SRC@/source", "@NIX_KERNEL_SRC@/build" };
+
#ifdef KERNEL_HEADERS_DIR
return {KERNEL_HEADERS_DIR, KERNEL_HEADERS_DIR};
#endif

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.14.115"; version = "4.14.116";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "11k1a58l4x22ir8ma9rhdm9gsylpj8dr2izxd0yha8qk39qn3bmp"; sha256 = "1gcdisdbgrh4mh9d38jy7pv0xi58mra1zddbdp3lxary2sazlnm0";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.19.38"; version = "4.19.39";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0zyd1dgr0fzmnshk0zp2pfwrar8dxfk4f2gz420ywqdw5nhdygva"; sha256 = "19d2dsvscdp0dasmgjck916mhd68kg4y374f555nxvw1afdrmpql";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args: { stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec { buildLinux (args // rec {
version = "4.9.172"; version = "4.9.173";
extraMeta.branch = "4.9"; extraMeta.branch = "4.9";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "03mlbqaj4jz4s72a034i1z8h5swdk04brdzllrlv1h4wk0q8whj9"; sha256 = "0s0iypddxqkabjmd72frfk6dca8amk46vmiyy2nh8zbx9y89smxw";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.0.11"; version = "5.0.12";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "183zjm2y5fy4djpc7lqwqiv8mb1azhq2iwpfg4p81lyaclv65nqq"; sha256 = "1w082lh8krjrpf8rp1ab6b7lcn86p7d1y2ipp604kl3rcqcph0hy";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

Some files were not shown because too many files have changed in this diff Show More