Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
9994660
gams: move optgams and gamslice to $out/share/gams
Scriptkiddi May 31, 2018
5f1ad29
nixos/docker-registry: allow nested config options
bluescreen303 Jun 5, 2018
8981cb7
owamp: init at 3.5.6
teto Jun 5, 2018
358296c
owamp: adding module
teto Jun 5, 2018
c4fd2b7
nixos/docker-registry: allow running on ports < 1024
bluescreen303 Jun 5, 2018
c5d5696
Add leetcode-cli tool
Jun 7, 2018
62b59e5
Add buildGradleApp to androidenv
ali-abrar May 16, 2017
1cc64da
add signing to buildGradleApp
ali-abrar May 16, 2017
465e3a0
Add android sdk license acceptance
ali-abrar May 16, 2017
abddf4a
Don't append signingConfigs to build.gradle
ali-abrar May 17, 2017
fe04fe8
Fix gradle build
Jun 14, 2017
e96ce01
flent: enable man by default
teto Jun 7, 2018
0080fe9
http-getter: init at 20180606
teto Jun 13, 2018
3a2ffc7
libpfm: 4.9.0 -> 4.10.0
Jun 14, 2018
d45db16
libsixel: 1.7.3 -> 1.8.1
Jun 14, 2018
75dc4a5
mate.marco: 1.20.1 -> 1.20.2
Jun 19, 2018
3bbbf11
mate.mate-media: 1.20.0 -> 1.20.1
Jun 19, 2018
3cf548b
mate.mate-power-manager: 1.20.1 -> 1.20.2
Jun 19, 2018
694e6ef
mate.mate-polkit: 1.20.0 -> 1.20.1
Jun 19, 2018
618713a
libpfm: only builds on linux
fpletz Jun 19, 2018
0733e46
gsl: 2.4 -> 2.5
Jun 19, 2018
ff0ea57
fwup: 1.1.0 -> 1.2.1
Jun 19, 2018
fd7a6ea
haskell: make generic builder follow compiler’s shared config
matthewbauer Jun 20, 2018
3925077
Merge pull request #41485 from teto/owamp
matthewbauer Jun 21, 2018
3102170
Merge pull request #41478 from bluescreen303/docker-registry
matthewbauer Jun 21, 2018
73fde65
Merge pull request #41632 from voanhduy1512/add_leetcode-cli
matthewbauer Jun 21, 2018
b0b76bf
Merge pull request #41313 from Scriptkiddi/fix/gams
matthewbauer Jun 21, 2018
9e4aebd
ghc8.4: add android triple
matthewbauer Jun 16, 2018
6572cb5
gmp: fix on android prebuilt
matthewbauer Jun 19, 2018
0f94e4b
Merge pull request #42005 from r-ryantm/auto-update/libsixel
Mic92 Jun 21, 2018
0f0c9a4
Merge pull request #42004 from r-ryantm/auto-update/libpfm
Mic92 Jun 21, 2018
b94269d
Merge pull request #42235 from r-ryantm/auto-update/mate-polkit
Mic92 Jun 21, 2018
dfb4f96
Merge pull request #42233 from r-ryantm/auto-update/mate-power-manager
Mic92 Jun 21, 2018
624a9ff
Merge pull request #42312 from obsidiansystems/fix-android-prebuilt-ghc
peti Jun 21, 2018
939bf0d
Merge pull request #42231 from r-ryantm/auto-update/mate-media
Mic92 Jun 21, 2018
eb16ff9
Merge pull request #42229 from r-ryantm/auto-update/marco
Mic92 Jun 21, 2018
9da836d
rancher-compose: remove
Mic92 Jun 21, 2018
bc8ba3e
Merge pull request #42274 from r-ryantm/auto-update/fwup
Mic92 Jun 21, 2018
7e67294
telegraf: 1.6.1 -> 1.7.0
Mic92 Jun 21, 2018
2193fcd
telegraf: also remove old deps file
Mic92 Jun 21, 2018
310bfc9
linux: 4.14.50 -> 4.14.51
NeQuissimus Jun 21, 2018
599e3aa
linux: 4.16.16 -> 4.16.17
NeQuissimus Jun 21, 2018
51bafa6
tests.plasma5: Fixes OCR in sddm by providing a custom theme
bkchr Jun 21, 2018
7e7f286
nodejs: 10.4.1 -> 10.5.0
lo1tuma Jun 21, 2018
5fc0603
Merge pull request #42256 from r-ryantm/auto-update/gsl
lsix Jun 21, 2018
c62bd11
Merge pull request #42323 from Mic92/rancher-compose
Mic92 Jun 21, 2018
3813d5d
Merge pull request #42328 from holidaycheck/nodejs-10.5.0
adisbladis Jun 21, 2018
4001a68
erlangR21: init at 21.0
goertzenator Jun 21, 2018
2e8feba
androidenv: Use fetchzip instead of googlerepository
matthewbauer Jun 21, 2018
bf1c28e
PULL_REQUEST_TEMPLATE.md: Ask for closure size impact
edolstra Jun 21, 2018
3da395f
xcode: add 9.4 sdk
matthewbauer Jun 21, 2018
d401db4
parallel: 20180522 -> 20180622
pSub Jun 21, 2018
b72da4b
androidenv.buildGradleApp: refactor
matthewbauer Jun 21, 2018
2a0c328
androidenv: add "androidsdk_latest" for latest sdk
matthewbauer Jun 21, 2018
26434c0
Merge pull request #42329 from goertzenator/erlang-21.0
LnL7 Jun 21, 2018
ec2ea29
Merge pull request #41855 from obsidiansystems/gradle-app
matthewbauer Jun 21, 2018
e050011
Merge pull request #42311 from obsidiansystems/haskell-enable-shared-…
Ericson2314 Jun 21, 2018
fe948fd
Merge pull request #42327 from bkchr/fix_plasma5_test
matthewbauer Jun 21, 2018
6906e5c
gitAndTools.hub: remove go compiler from runtime closure
Mic92 Jun 21, 2018
4756e6f
Merge pull request #42354 from Mic92/hub
Mic92 Jun 21, 2018
fc04807
git: remove object file from closure
matthewbauer Jun 21, 2018
9185df5
Merge pull request #41614 from teto/flent_wrap
matthewbauer Jun 22, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).

---
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@
./services/networking/openntpd.nix
./services/networking/openvpn.nix
./services/networking/ostinato.nix
./services/networking/owamp.nix
./services/networking/pdnsd.nix
./services/networking/polipo.nix
./services/networking/powerdns.nix
Expand Down
5 changes: 3 additions & 2 deletions nixos/modules/services/misc/docker-registry.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let
};
};

configFile = pkgs.writeText "docker-registry-config.yml" (builtins.toJSON (registryConfig // cfg.extraConfig));
configFile = pkgs.writeText "docker-registry-config.yml" (builtins.toJSON (recursiveUpdate registryConfig cfg.extraConfig));

in {
options.services.dockerRegistry = {
Expand Down Expand Up @@ -91,7 +91,7 @@ in {
Docker extra registry configuration via environment variables.
'';
default = {};
type = types.attrsOf types.str;
type = types.attrs;
};

enableGarbageCollect = mkEnableOption "garbage collect";
Expand Down Expand Up @@ -120,6 +120,7 @@ in {
serviceConfig = {
User = "docker-registry";
WorkingDirectory = cfg.storagePath;
AmbientCapabilities = mkIf (cfg.port < 1024) "cap_net_bind_service";
};
};

Expand Down
47 changes: 47 additions & 0 deletions nixos/modules/services/networking/owamp.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.owamp;
in
{

###### interface

options = {
services.owamp.enable = mkEnableOption ''Enable OWAMP server'';
};


###### implementation

config = mkIf cfg.enable {
users.extraUsers = singleton {
name = "owamp";
group = "owamp";
description = "Owamp daemon";
};

users.extraGroups = singleton {
name = "owamp";
};

systemd.services.owamp = {
description = "Owamp server";
wantedBy = [ "multi-user.target" ];

serviceConfig = {
ExecStart="${pkgs.owamp}/bin/owampd -R /run/owamp -d /run/owamp -v -Z ";
PrivateTmp = true;
Restart = "always";
Type="simple";
User = "owamp";
Group = "owamp";
RuntimeDirectory = "owamp";
StateDirectory = "owamp";
AmbientCapabilities = "cap_net_bind_service";
};
};
};
}
18 changes: 16 additions & 2 deletions nixos/tests/plasma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,28 @@ import ./make-test.nix ({ pkgs, ...} :
maintainers = [ ttuegel ];
};

machine = { lib, ... }: {
machine = { lib, ... }:
let
sddm_theme = pkgs.stdenv.mkDerivation {
name = "breeze-ocr-theme";
phases = "buildPhase";
buildCommand = ''
mkdir -p $out/share/sddm/themes/
cp -r ${pkgs.plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/breeze-ocr-theme
chmod -R +w $out/share/sddm/themes/breeze-ocr-theme
printf "[General]\ntype=color\ncolor=#1d99f3\nbackground=\n" > $out/share/sddm/themes/breeze-ocr-theme/theme.conf
'';
};
in
{
imports = [ ./common/user-account.nix ];
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.displayManager.sddm.theme = "breeze-ocr-theme";
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.default = "plasma5";
virtualisation.memorySize = 1024;
environment.systemPackages = [ sddm_theme ];

# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
nixpkgs.config.packageOverrides = superPkgs: {
Expand All @@ -30,7 +45,6 @@ import ./make-test.nix ({ pkgs, ...} :
xdo = "${pkgs.xdotool}/bin/xdotool";
in ''
startAll;

# Wait for display manager to start
$machine->waitForText(qr/${user.description}/);
$machine->screenshot("sddm");
Expand Down
7 changes: 5 additions & 2 deletions pkgs/applications/networking/flent/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 }:
{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, procps, pyqt5
, sphinx
}:

buildPythonApplication rec {
pname = "flent";
Expand All @@ -10,7 +12,8 @@ buildPythonApplication rec {
sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
};

buildInputs = [ netperf ];
buildInputs = [ sphinx ];

propagatedBuildInputs = [
matplotlib
procps
Expand Down
23 changes: 23 additions & 0 deletions pkgs/applications/networking/flent/http-getter.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, cmake
, curl, pkgconfig }:

stdenv.mkDerivation rec {
name = "http-getter";
version = "20180606";

src = fetchFromGitHub {
owner = "tohojo";
repo = "http-getter";
rev = "79bcccce721825a745f089d0c347bbaf2e6e12f4";
sha256 = "1zxk52s1h5qx62idil237zdpj8agrry0w1xwkfx05wvv9sw4ld35";
};

buildInputs = [ cmake pkgconfig curl ];

meta = with stdenv.lib; {
homepage = https://github.com/tohojo/http-getter;
description = "Simple getter for HTTP URLs using cURL";
platforms = platforms.unix;
license = licenses.gpl3;
};
}
28 changes: 28 additions & 0 deletions pkgs/applications/networking/owamp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{stdenv, fetchurl, fetchFromGitHub
, autoconf, automake, mandoc }:

stdenv.mkDerivation rec {
name = "owamp-${version}";
version = "3.5.6";
buildInputs = [ autoconf automake mandoc ];
src = fetchFromGitHub {
owner = "perfsonar";
repo = "owamp";
rev = version;
sha256="019rcshmrqk8pfp510j5jvazdcnz0igfkwv44mfxb5wirzj9p6s7";
fetchSubmodules = true;
};

preConfigure = ''
I2util/bootstrap.sh
./bootstrap
'';

meta = with stdenv.lib; {
homepage = http://software.internet2.edu/owamp/;
description = ''A tool for performing one-way active measurements'';
platforms = platforms.linux;
maintainers = [maintainers.teto];
license = licenses.asl20;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ stdenv.mkDerivation {
preInstall = stdenv.lib.optionalString stdenv.isDarwin ''
mkdir -p $out/bin
cp -a $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin
rm -f $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain.o
'';

postInstall =
Expand Down
39 changes: 18 additions & 21 deletions pkgs/applications/version-management/git-and-tools/hub/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,35 @@
{ stdenv, fetchgit, go, ronn, groff, utillinux, Security }:
{ stdenv, buildGoPackage, fetchFromGitHub, go, ronn, ruby, groff, Security, utillinux }:

stdenv.mkDerivation rec {
buildGoPackage rec {
name = "hub-${version}";
version = "2.4.0";

src = fetchgit {
url = https://github.com/github/hub.git;
rev = "refs/tags/v${version}";
goPackagePath = "github.com/github/hub";

src = fetchFromGitHub {
owner = "github";
repo = "hub";
rev = "v${version}";
sha256 = "1lr6vg0zhg2air9bnzcl811g97jraxq05l3cs46wqqflwy57xpz2";
};

buildInputs = [ groff ronn ruby utillinux ] ++
stdenv.lib.optional stdenv.isDarwin Security;

buildInputs = [ go ronn groff utillinux ]
++ stdenv.lib.optional stdenv.isDarwin Security;

buildPhase = ''
postPatch = ''
mkdir bin
ln -s ${ronn}/bin/ronn bin/ronn

patchShebangs .
make all man-pages
'';

installPhase = ''
prefix=$out sh -x < script/install.sh

mkdir -p "$out/share/zsh/site-functions"
cp "etc/hub.zsh_completion" "$out/share/zsh/site-functions/_hub"

mkdir -p "$out/etc/bash_completion.d"
cp "etc/hub.bash_completion.sh" "$out/etc/bash_completion.d/"
postInstall = ''
cd go/src/${goPackagePath}
install -D etc/hub.zsh_completion "$bin/share/zsh/site-functions/_hub"
install -D etc/hub.bash_completion.sh "$bin/etc/bash_completion.d/hub.bash_completion.sh"
install -D etc/hub.fish_completion "$bin/share/fish/vendor_completions.d/hub.fish"

# Should we also install provided git-hooks?
# And fish completion?
make man-pages
cp -r share/man $bin/share/man
'';

meta = with stdenv.lib; {
Expand Down
44 changes: 0 additions & 44 deletions pkgs/applications/virtualization/rancher-compose/default.nix

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/desktops/mate/marco/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "marco-${version}";
version = "1.20.1";
version = "1.20.2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1qnx47aibvl00qaf1jik457cwncxb71pf5pd1m3gdg7ky61ljkm4";
sha256 = "1fn0yfqjp44gr4kly96qjsd73x06z1xyw6bpyhh09kdqwd80rgiy";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/mate/mate-media/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "mate-media-${version}";
version = "1.20.0";
version = "1.20.1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "09vbw7nc91ljnxm5sbrch0w7zzn2i6qjb1b50q402niwr5b0zicr";
sha256 = "1db47m80qfb1xyrg1qxwvmkc53qp97yhvh86fgwjv00x96c3j9s9";
};

buildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/mate/mate-polkit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "mate-polkit-${version}";
version = "1.20.0";
version = "1.20.1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "00c1rmi31gv1a3lk7smjp489kd3wrj0d6npagnb8p1rz0g88ha94";
sha256 = "05g6k5z903p9p0dbi0y61z5chip52gqrhy5zrjn6xjxv1ad29lsk";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/mate/mate-power-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "mate-power-manager-${version}";
version = "1.20.1";
version = "1.20.2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1s46jvjcrai6xb2k0dy7i121b9ihfl5h3y5809fg9fzrbvw6bafn";
sha256 = "1z754jxnwashwxxfg3cxb9ifbqyjxgavzzwy2mjnzl6z7k95hvjh";
};

buildInputs = [
Expand Down
5 changes: 4 additions & 1 deletion pkgs/development/compilers/ghc/7.10.3-binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ]
'';

passthru = { targetPrefix = ""; };
passthru = {
targetPrefix = "";
enableShared = true;
};

meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "armv7l-linux"];
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/ghc/7.10.3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ stdenv.mkDerivation rec {
inherit bootPkgs targetPrefix;

inherit llvmPackages;
inherit enableShared;

# Our Cabal compiler name
haskellCompilerName = "ghc-7.10.3";
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/ghc/8.0.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ stdenv.mkDerivation rec {
inherit bootPkgs targetPrefix;

inherit llvmPackages;
inherit enableShared;

# Our Cabal compiler name
haskellCompilerName = "ghc-8.0.2";
Expand Down
Loading