Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: da60549504f2
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d4226e3a4b5f
Choose a head ref
  • 8 commits
  • 8 files changed
  • 6 contributors

Commits on May 17, 2020

  1. ponywhoosh: init at 1.7.8

    alexarice committed May 17, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ijjk JJ Kasper
    Copy the full SHA
    80922ca View commit details

Commits on May 27, 2020

  1. agda-pkg: init at 0.1.50

    alexarice committed May 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ijjk JJ Kasper
    Copy the full SHA
    db1bed3 View commit details

Commits on May 28, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0e2456d View commit details
  2. Copy the full SHA
    df9ac8b View commit details
  3. Merge pull request #88015 from alexarice/agda-pkg-init

    agda-pkg: init at 0.1.50
    veprbl authored May 28, 2020
    Copy the full SHA
    dba97ff View commit details
  4. Copy the full SHA
    2738ca8 View commit details
  5. Merge pull request #89115 from timokau/metals-client-agnostic

    metals: provide client-agnostic flavor
    timokau authored May 28, 2020
    Copy the full SHA
    d6cf34e View commit details
  6. checksec: 2.1.0 -> 2.2.1

    r-ryantm authored and thoughtpolice committed May 28, 2020
    Copy the full SHA
    d4226e3 View commit details
10 changes: 8 additions & 2 deletions pkgs/development/libraries/fmt/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

stdenv.mkDerivation rec {
pname = "fmt";
version = "6.2.0";
version = "6.2.1";

outputs = [ "out" "dev" ];

src = fetchFromGitHub {
owner = "fmtlib";
repo = "fmt";
rev = version;
sha256 = "1vr08a8q94j66gas7ddbpdbq72b2ikd0mkgd5zd3l63610n8qajs";
sha256 = "1i6nfxazq4d05r3sxyc3ziwkqq7s8rdbv9p16afv66aqmsbqqqic";
};

patches = [
@@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
url = "https://github.com/fmtlib/fmt/commit/78f041ab5b40a1145ba686aeb8013e8788b08cd2.patch";
sha256 = "hjE6Q/ubA4UhvuJXgcsA3wiGoDK031P19njQRL9JF8M=";
})

# Fix cmake config paths.
(fetchpatch {
url = "https://github.com/fmtlib/fmt/pull/1702.patch";
sha256 = "18cadqi7nac37ymaz3ykxjqs46rvki396g6qkqwp4k00cmic23y3";
})
];

nativeBuildInputs = [ cmake ];
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/ponywhoosh/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, pony, whoosh }:

buildPythonPackage rec {
pname = "ponywhoosh";
version = "1.7.8";

src = fetchPypi {
inherit pname version;
sha256 = "1mggj9d265hra4z67qyla686qvl0cf79655cszi136gh9hqlibv9";
};

propagatedBuildInputs = [
pony
whoosh
];

meta = with lib; {
homepage = "https://pythonhosted.org/ponywhoosh/";
description = "Make your database over PonyORM searchable";
license = licenses.mit;
maintainers = with maintainers; [ alexarice ];
};
}
44 changes: 44 additions & 0 deletions pkgs/development/tools/agda-pkg/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ lib, python3Packages }:

with python3Packages;

buildPythonApplication rec {
pname = "agda-pkg";
version = "0.1.50";

disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "0wpw90kw3danw91m3jzfdn7zmclimmiz74f77mpij9b1w6wvhm11";
};

# Checks need internet access, so we just check the program executes
# At the moment the help page needs to write to $HOME, this can
# be removed if https://github.com/agda/agda-pkg/issues/40 is fixed
checkPhase = ''
HOME=$NIX_BUILD_TOP $out/bin/apkg --help > /dev/null
'';

propagatedBuildInputs = [
click
GitPython
pony
whoosh
natsort
click-log
requests
humanize
distlib
jinja2
pyyaml
ponywhoosh
];

meta = with lib; {
homepage = "https://agda.github.io/agda-pkg/";
description = "Package manager for Agda";
license = licenses.mit;
maintainers = with maintainers; [ alexarice ];
};
}
7 changes: 7 additions & 0 deletions pkgs/development/tools/metals/default.nix
Original file line number Diff line number Diff line change
@@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
# This variant is not targeted at any particular client, clients are
# expected to declare their supported features in initialization options.
makeWrapper ${jre}/bin/java $out/bin/metals \
--prefix PATH : ${lib.makeBinPath [ jdk ]} \
--add-flags "${extraJavaOpts} -cp $CLASSPATH scala.meta.metals.Main"
# Further variants targeted at clients with featuresets pre-set.
makeWrapper ${jre}/bin/java $out/bin/metals-emacs \
--prefix PATH : ${lib.makeBinPath [ jdk ]} \
--add-flags "${extraJavaOpts} -Dmetals.client=emacs -cp $CLASSPATH scala.meta.metals.Main"
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/checksec/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
pname = "checksec";
version = "2.1.0";
version = "2.2.1";

src = fetchFromGitHub {
owner = "slimm609";
repo = "checksec.sh";
rev = version;
sha256 = "00s4qg4h9s9vi46jyw7lz36lb5i8h3s9cmicnngp17764xgkr916";
sha256 = "035ydf7kp9yh5gpjnq4cgi76j582a0q6dxcbgkraxpkml0d8n2xd";
};

patches = [ ./0001-attempt-to-modprobe-config-before-checking-kernel.patch ];
40 changes: 40 additions & 0 deletions pkgs/os-specific/linux/rtl88xxau-aircrack/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub, kernel }:

stdenv.mkDerivation rec {
name = "rtl88xxau-aircrack-${kernel.version}-${version}";
rev = "fc0194c1d90453bf4943089ca237159ef19a7374";
version = "${builtins.substring 0 6 rev}";

src = fetchFromGitHub {
owner = "aircrack-ng";
repo = "rtl8812au";
inherit rev;
sha256 = "0hf7mrvxaskc6qcjar5w81y9xc7s2rlsxp34achyqly2hjg7fgmy";
};

buildInputs = kernel.moduleBuildDependencies;

hardeningDisable = [ "pic" ];

NIX_CFLAGS_COMPILE="-Wno-error=incompatible-pointer-types";

prePatch = ''
substituteInPlace ./Makefile \
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
--replace '$(shell uname -r)' "${kernel.modDirVersion}" \
--replace /sbin/depmod \# \
--replace '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
'';

preInstall = ''
mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
'';

meta = with stdenv.lib; {
description = "Aircrack-ng kernel module for Realtek 88XXau network cards\n(8811au, 8812au, 8814au and 8821au chipsets) with monitor mode and injection support.";
homepage = "https://github.com/aircrack-ng/rtl8812au";
license = licenses.gpl2;
maintainers = [ maintainers.jethro ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -601,6 +601,8 @@ in

afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };

agda-pkg = callPackage ../development/tools/agda-pkg { };

agrep = callPackage ../tools/text/agrep { };

aha = callPackage ../tools/text/aha { };
@@ -17028,6 +17030,8 @@ in

rtl8814au = callPackage ../os-specific/linux/rtl8814au { };

rtl88xxau-aircrack = callPackage ../os-specific/linux/rtl88xxau-aircrack { };

rtl8821au = callPackage ../os-specific/linux/rtl8821au { };

rtl8821ce = callPackage ../os-specific/linux/rtl8821ce { };
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -5073,6 +5073,8 @@ in {

polib = callPackage ../development/python-modules/polib {};

ponywhoosh = callPackage ../development/python-modules/ponywhoosh { };

posix_ipc = callPackage ../development/python-modules/posix_ipc { };

portend = callPackage ../development/python-modules/portend { };