Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 193e8bc72272
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b9c505b7bf90
Choose a head ref
  • 9 commits
  • 6 files changed
  • 1 contributor

Commits on Nov 11, 2020

  1. Copy the full SHA
    ef990c1 View commit details
  2. Copy the full SHA
    3be8a44 View commit details
  3. Copy the full SHA
    8e364d5 View commit details
  4. Copy the full SHA
    362d24c View commit details
  5. Copy the full SHA
    7420461 View commit details
  6. Copy the full SHA
    e7fa508 View commit details
  7. Copy the full SHA
    e4d8eb1 View commit details
  8. Copy the full SHA
    6134eaf View commit details
  9. sbt-extras: Add test

    NeQuissimus committed Nov 11, 2020
    Copy the full SHA
    b9c505b View commit details
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -315,6 +315,7 @@ in
samba = handleTest ./samba.nix {};
sanoid = handleTest ./sanoid.nix {};
sbt = handleTest ./sbt.nix {};
sbt-extras = handleTest ./sbt-extras.nix {};
scala = handleTest ./scala.nix {};
sddm = handleTest ./sddm.nix {};
service-runner = handleTest ./service-runner.nix {};
16 changes: 16 additions & 0 deletions nixos/tests/sbt-extras.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import ./make-test-python.nix ({ pkgs, ...} : {
name = "sbt-extras";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
};

machine = { pkgs, ... }:
{
environment.systemPackages = [ pkgs.sbt-extras ];
};

testScript =
''
machine.succeed("(sbt -h)")
'';
})
62 changes: 50 additions & 12 deletions pkgs/development/tools/build-managers/sbt-extras/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk }:
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
, common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused
, nixosTests }:

let
rev = "1e9230f35879ce23cbd8d16add07d2134fd479c9";
version = "2020-09-24";
in
stdenv.mkDerivation {
name = "sbt-extras-${version}";
inherit version;
stdenv.mkDerivation rec {
pname = "sbt-extras";
rev = "a36958f50bf8806c13f7c67ab0f13936e189351b";
version = "2020-11-08";

src = fetchFromGitHub {
owner = "paulp";
repo = "sbt-extras";
inherit rev;
sha256 = "1k6vknjjbhr5jfpiyh2yzayn2ziqi1bb862l1q2786q59161ij3j";
sha256 = "1xp5r7ia8r2nr4g76wp0mnh95d5ha0dblsqvgicq240dgc28360r";
};

dontBuild = true;
@@ -26,14 +25,53 @@ stdenv.mkDerivation {
install bin/sbt $out/bin
wrapProgram $out/bin/sbt --prefix PATH : ${stdenv.lib.makeBinPath [ which curl ]}
wrapProgram $out/bin/sbt --prefix PATH : ${
stdenv.lib.makeBinPath [ which curl ]
}
'';

passthru = {
tests = { inherit (nixosTests) sbt-extras; };

updateScript = writeScript "update.sh" ''
#!${stdenv.shell}
set -xo errexit
PATH=${
stdenv.lib.makeBinPath [
common-updater-scripts
curl
cacert
git
nixfmt
nix
jq
coreutils
gnused
]
}
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion ${pname}" | tr -d '"')"
latestSha="$(curl -L -s https://api.github.com/repos/paulp/sbt-extras/commits\?sha\=master\&since\=$oldVersion | jq -r '.[0].sha')"
if [ ! "null" = "$latestSha" ]; then
nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/development/tools/build-managers/sbt-extras/default.nix"
latestDate="$(curl -L -s https://api.github.com/repos/paulp/sbt-extras/commits/$latestSha | jq '.commit.committer.date' | sed 's|"\(.*\)T.*|\1|g')"
update-source-version ${pname} "$latestSha" --version-key=rev
update-source-version ${pname} "$latestDate" --ignore-same-hash
nixfmt "$default_nix"
else
echo "${pname} is already up-to-date"
fi
'';
};

meta = {
description = "A more featureful runner for sbt, the simple/scala/standard build tool";
description =
"A more featureful runner for sbt, the simple/scala/standard build tool";
homepage = "https://github.com/paulp/sbt-extras";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
maintainers = with stdenv.lib.maintainers; [ nequissimus puffnfresh ];
platforms = stdenv.lib.platforms.unix;
};
}
24 changes: 12 additions & 12 deletions pkgs/os-specific/linux/kernel/hardened/patches.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"4.14": {
"name": "linux-hardened-4.14.204.a.patch",
"sha256": "1vwja9mqycw3322p8a896l9mkxvzym6r9q17zfgwpqi3kvr9k74h",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.204.a/linux-hardened-4.14.204.a.patch"
"name": "linux-hardened-4.14.205.a.patch",
"sha256": "0a9llmpkz4rs1xr574iiyjvll1i9fd6y5k0gxqniz2x2m2nl1mkz",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.205.a/linux-hardened-4.14.205.a.patch"
},
"4.19": {
"name": "linux-hardened-4.19.155.a.patch",
"sha256": "0jrvd9yws7cym08j28r7wv3i83zlk5z0vl0l1mibak04h43mibgf",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.155.a/linux-hardened-4.19.155.a.patch"
"name": "linux-hardened-4.19.156.a.patch",
"sha256": "1f3di0fvsfs9p549nna67i108v3730hc5mjyh8lk07s2bbigi09z",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.156.a/linux-hardened-4.19.156.a.patch"
},
"5.4": {
"name": "linux-hardened-5.4.75.a.patch",
"sha256": "169m2a3wm5lsyzp7cp8nvxarhgcnan41ap7k5r7jx7x1frx2vzxm",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.75.a/linux-hardened-5.4.75.a.patch"
"name": "linux-hardened-5.4.76.a.patch",
"sha256": "0b47id64vi55s7lmyasmvhwbfcv9cjwfhw9g4lf220g0rnl6h8jm",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.76.a/linux-hardened-5.4.76.a.patch"
},
"5.8": {
"name": "linux-hardened-5.8.18.a.patch",
"sha256": "1r2n74nbyi3dp5zql9sk504xkpil6ylbyd99zqqva4nd3qg17c99",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.8.18.a/linux-hardened-5.8.18.a.patch"
},
"5.9": {
"name": "linux-hardened-5.9.6.a.patch",
"sha256": "1h25jkbp0yz2jfmbnwrldd1rcpag8mbf8dv6kc79j7qg1agafxkn",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.9.6.a/linux-hardened-5.9.6.a.patch"
"name": "linux-hardened-5.9.7.a.patch",
"sha256": "1sb4rsd3yfh49aqg5j24zav9x38c44q7d9pyx6pb8pl368rd26l4",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.9.7.a/linux-hardened-5.9.7.a.patch"
}
}
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-libre.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, lib, fetchsvn, linux
, scripts ? fetchsvn {
url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/";
rev = "17744";
sha256 = "120jf6d1xrpwf8yfqzfqp8a1189lca0si8fxci16sf4bdg5q1had";
rev = "17762";
sha256 = "1fj77j9x20w8xwk2xmga625dv81c145gj01z8yxz8i3x2cxwccrs";
}
, ...
}:
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -5,15 +5,15 @@
, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:

stdenv.mkDerivation rec {
version = "2020-11-09";
version = "2020-11-10";
pname = "oh-my-zsh";
rev = "eef04c62c2dfbd81f9fee6752e3b7e0b9c3bf617";
rev = "dc4692b53e4a1dc512d405f36f2d2af30c66304b";

src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
sha256 = "15gisyawg9g8xan5dawzj3jmqnwdiki95dxjgwyswfks2vcfakl6";
sha256 = "00jm6vvjq265injnrd6mbmq2dm3w8wmw3g7ibhv9spi2r3zb6400";
};

installPhase = ''