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: fce8b4837ae1
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: b4136a8f5b1d
Choose a head ref
  • 15 commits
  • 14 files changed
  • 7 contributors

Commits on Oct 15, 2019

  1. pythonPackages.elementpath: 1.1.8 -> 1.3.0

    Jonathan Ringer committed Oct 15, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    jonringer Jonathan Ringer
    Copy the full SHA
    5a61c51 View commit details
  2. pythonPackages.xmlschema: 1.0.13 -> 1.0.15

    Jonathan Ringer committed Oct 15, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    jonringer Jonathan Ringer
    Copy the full SHA
    883031e View commit details
  3. maintainers: add arcnmx

    arcnmx committed Oct 15, 2019
    Copy the full SHA
    e59b603 View commit details
  4. cargo-deps: init at 1.1.1

    arcnmx committed Oct 15, 2019
    Copy the full SHA
    c62ad59 View commit details

Commits on Oct 16, 2019

  1. ocamlPackages.lru: 0.2.0 → 0.3.0

    ocamlPackages.psq: 0.1.0 → 0.2.0
    vbgl committed Oct 16, 2019
    Copy the full SHA
    8dd417e View commit details
  2. coq_8_10: fix CoqIDE on darwin

    vbgl committed Oct 16, 2019
    Copy the full SHA
    325f89e View commit details
  3. Copy the full SHA
    1292f49 View commit details
  4. coq: do not build CoqIDE for Coq 8.10

    GTK3 at version 3.24.11 has broken pkg-config files
    vbgl committed Oct 16, 2019
    Copy the full SHA
    0cc70b5 View commit details
  5. coq_8_10: 8.10+β3 → 8.10.0

    coqPackages.coq-elpi: master → 1.1.0
    vbgl committed Oct 16, 2019
    Copy the full SHA
    b4db381 View commit details
  6. Merge pull request #71199 from arcnmx/pr-cargo-deps

    cargo-deps: init at 1.1.1
    marsam authored Oct 16, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    882dc45 View commit details
  7. Merge pull request #71156 from jonringer/bump-elementpath

    pythonPackages.elementpath: 1.1.8 -> 1.3.0
    marsam authored Oct 16, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    818a38f View commit details
  8. discord-canary: 0.0.96 -> 0.0.97

    tadeokondrak authored and Jon committed Oct 16, 2019
    Copy the full SHA
    d2d9567 View commit details
  9. maintainers/scripts/update-discord: improve

    - add comment specifying file is generated
    - remove repetition of version number
    tadeokondrak authored and Jon committed Oct 16, 2019
    Copy the full SHA
    70167b6 View commit details
  10. pythonPackages.hcloud: 1.6.1 -> 1.6.2

    liff authored and Jon committed Oct 16, 2019
    Copy the full SHA
    cff4b15 View commit details
  11. Copy the full SHA
    b4136a8 View commit details
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -551,6 +551,12 @@
githubId = 56009;
name = "Arcadio Rubio García";
};
arcnmx = {
email = "arcnmx@users.noreply.github.com";
github = "arcnmx";
githubId = 13426784;
name = "arcnmx";
};
ardumont = {
email = "eniotna.t@gmail.com";
github = "ardumont";
6 changes: 3 additions & 3 deletions maintainers/scripts/update-discord
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exec >${1:?usage: $0 <output-file>}

cat <<EOF
{ branch ? "stable", pkgs }:
# Generated by /maintainers/scripts/update-discord
let
inherit (pkgs) callPackage fetchurl;
in {
@@ -16,7 +16,7 @@ for branch in "" ptb canary; do
url=$(curl -sI "https://discordapp.com/api/download${branch:+/}${branch}?platform=linux&format=tar.gz" | grep -oP 'location: \K\S+')
version=${url##https://dl*.discordapp.net/apps/linux/}
version=${version%%/*.tar.gz}
echo " ${branch:-stable} = callPackage ./base.nix {"
echo " ${branch:-stable} = callPackage ./base.nix rec {"
echo " pname = \"discord${branch:+-}${branch}\";"
case $branch in
"") suffix="" ;;
@@ -27,7 +27,7 @@ for branch in "" ptb canary; do
echo " desktopName = \"Discord${suffix:+ }${suffix}\";"
echo " version = \"${version}\";"
echo " src = fetchurl {"
echo " url = \"${url}\";"
echo " url = \"${url//${version}/\$\{version\}}\";"
echo " sha256 = \"$(nix-prefetch-url "$url")\";"
echo " };"
echo " };"
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{ branch ? "stable", pkgs }:

# Generated by /maintainers/scripts/update-discord
let
inherit (pkgs) callPackage fetchurl;
in {
stable = callPackage ./base.nix {
stable = callPackage ./base.nix rec {
pname = "discord";
binaryName = "Discord";
desktopName = "Discord";
version = "0.0.9";
src = fetchurl {
url = "https://dl.discordapp.net/apps/linux/0.0.9/discord-0.0.9.tar.gz";
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
sha256 = "1i0f8id10rh2fx381hx151qckvvh8hbznfsfav8w0dfbd1bransf";
};
};
ptb = callPackage ./base.nix {
ptb = callPackage ./base.nix rec {
pname = "discord-ptb";
binaryName = "DiscordPTB";
desktopName = "Discord PTB";
version = "0.0.16";
src = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/0.0.16/discord-ptb-0.0.16.tar.gz";
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
sha256 = "1ia94xvzygim9rx1sjnnss518ggw0i20mhp9pby33q70ha35n0aq";
};
};
canary = callPackage ./base.nix {
canary = callPackage ./base.nix rec {
pname = "discord-canary";
binaryName = "DiscordCanary";
desktopName = "Discord Canary";
version = "0.0.96";
version = "0.0.97";
src = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/0.0.96/discord-canary-0.0.96.tar.gz";
sha256 = "1fxyh9v5xglwbgr5sidn0cv70qpzcd2q240wsv87k3nawhvfcwsp";
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
sha256 = "17kwgk2kwrfqgjqmfv055gvlqq144gz7bywwrs6i2x7mimz4345x";
};
};
}.${branch}
17 changes: 9 additions & 8 deletions pkgs/applications/science/electronics/kicad/default.nix
Original file line number Diff line number Diff line change
@@ -28,11 +28,11 @@ let
in stdenv.mkDerivation rec {
pname = "kicad";
series = "5.0";
version = "5.1.2";
version = "5.1.4";

src = fetchurl {
url = "https://launchpad.net/kicad/${series}/${version}/+download/kicad-${version}.tar.xz";
sha256 = "12kp82ms2dwqkhilmh3mbhg5rsj5ykk99pnkhp4sx89nni86qdw4";
sha256 = "1r60dgh6aalbpq1wsmpyxkz0nn4ck8ydfdjcrblpl69k5rks5k2j";
};

postPatch = ''
@@ -73,22 +73,22 @@ in stdenv.mkDerivation rec {
dontWrapGApps = true;

passthru = {
i18n = mkLib version "i18n" "08a8lpz2j7bhwn155s0ii538qlynnnvq6fmdw1dxjfgmfy7y3r66" {
i18n = mkLib version "i18n" "1dk7wis4cncmihl8fnic3jyhqcdzpifchzsp7hmf214h0vp199zr" {
buildInputs = [
gettext
];
meta.license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3
};
symbols = mkLib version "symbols" "0l5r53wcv0518x2kl0fh1zi0d50cckc7z1739fp9z3k5a4ddk824" {
symbols = mkLib version "symbols" "1lna4xlvzrxif3569pkp6mrg7fj62z3a3ri5j97lnmnnzhiddnh3" {
meta.license = licenses.cc-by-sa-40;
};
footprints = mkLib version "footprints" "0q7y7m10pav6917ri37pzjvyh71c8lf4lh9ch258pdpl3w481zk6" {
footprints = mkLib version "footprints" "0c0kcywxlaihzzwp9bi0dsr2v9j46zcdr85xmfpivmrk19apss6a" {
meta.license = licenses.cc-by-sa-40;
};
templates = mkLib version "templates" "1nva4ckq0l2lrah0l05355cawlwd7qfxcagcv32m8hcrn781455q" {
templates = mkLib version "templates" "1bagb0b94cjh7zp9z0h23b60j45kwxbsbb7b2bdk98dmph8lmzbb" {
meta.license = licenses.cc-by-sa-40;
};
packages3d = mkLib version "packages3d" "0xla9k1rnrs00fink90y9qz766iks5lyqwnf1h2i508djqhqm5zi" {
packages3d = mkLib version "packages3d" "0h2qjj8vf33jz6jhqdz90c80h5i1ydgfqnns7rn0fqphlnscb45g" {
hydraPlatforms = []; # this is a ~1 GiB download, occupies ~5 GiB in store
meta.license = licenses.cc-by-sa-40;
};
@@ -107,7 +107,7 @@ in stdenv.mkDerivation rec {
buildPythonPath "$out $pythonPath"
gappsWrapperArgs+=(--set PYTHONPATH "$program_PYTHONPATH")
wrapGApp "$out/bin/kicad"
wrapGApp "$out/bin/kicad" --prefix LD_LIBRARY_PATH : "${libngspice}/lib"
'';

meta = {
@@ -116,5 +116,6 @@ in stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = with maintainers; [ berce ];
platforms = with platforms; linux;
broken = stdenv.isAarch64;
};
}
10 changes: 7 additions & 3 deletions pkgs/applications/science/logic/coq/default.nix
Original file line number Diff line number Diff line change
@@ -7,8 +7,9 @@

{ stdenv, fetchFromGitHub, writeText, pkgconfig
, ocamlPackages, ncurses
, buildIde ? true
, buildIde ? !stdenv.lib.versionAtLeast version "8.10" # lablgtk3 cannot be built with GTK3 at version 3.24.11
, glib, gnome3, wrapGAppsHook
, darwin
, csdp ? null
, version
}:
@@ -28,7 +29,7 @@ let
"8.8.2" = "1lip3xja924dm6qblisk1bk0x8ai24s5xxqxphbdxj6djglj68fd";
"8.9.0" = "1dkgdjc4n1m15m1p724hhi5cyxpqbjw6rxc5na6fl3v4qjjfnizh";
"8.9.1" = "1xrq6mkhpq994bncmnijf8jwmwn961kkpl4mwwlv7j3dgnysrcv2";
"8.10+beta3" = "08c7q97jyblsf7dhk8jf1fx1cp9qr3dr5s42wigx10wh7i6j7pca";
"8.10.0" = "138jw94wp4mg5dgjc2asn8ng09ayz1mxdznq342n0m469j803gzg";
}.${version};
coq-version = stdenv.lib.versions.majorMinor version;
versionAtLeast = stdenv.lib.versionAtLeast coq-version;
@@ -101,10 +102,13 @@ self = stdenv.mkDerivation {
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ] ++ (with ocamlPackages; [ ocaml findlib camlp5 num ])
buildInputs = [ ncurses ocamlPackages.ocaml ocamlPackages.findlib ]
++ stdenv.lib.optional (!versionAtLeast "8.10") ocamlPackages.camlp5
++ [ ocamlPackages.num ]
++ stdenv.lib.optionals buildIde
(if versionAtLeast "8.10"
then [ ocamlPackages.lablgtk3-sourceview3 glib gnome3.defaultIconTheme wrapGAppsHook ]
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa
else [ ocamlPackages.lablgtk ]);

postPatch = ''
8 changes: 4 additions & 4 deletions pkgs/development/coq-modules/coq-elpi/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, which, coq }:

let params = {
"8.10" = {
version = "master";
rev = "bc7134deba1aacc7ecd2f5d1032bdf05b125c568";
sha256 = "188avk9irwjsbs5ya4ka01mpk3vw4397kv2rmsncqrrrsa1pdddk";
"8.10" = rec {
version = "1.1.0";
rev = "v${version}";
sha256 = "06jyw7n27ylg02jvlaa3hs13hg8qgx47yn4dxhg9as1xri9a2rvm";
};
};
param = params.${coq.coq-version};
21 changes: 8 additions & 13 deletions pkgs/development/ocaml-modules/lru/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, psq }:
{ lib, fetchurl, buildDunePackage, psq }:

stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-lru-${version}";
version = "0.2.0";
buildDunePackage rec {
pname = "lru";
version = "0.3.0";

src = fetchurl {
url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-${version}.tbz";
sha256 = "0bd7js9rrma1fjjjjc3fgr9l5fjbhgihx2nsaf96g2b35iiaimd0";
url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-v${version}.tbz";
sha256 = "1ab9rd7cq15ml8x0wjl44wy99h5z7x4g9vkkz4i2d7n84ghy7vw4";
};

buildInputs = [ ocaml findlib ocamlbuild topkg ];

propagatedBuildInputs = [ psq ];

inherit (topkg) buildPhase installPhase;

meta = {
homepage = "https://github.com/pqwy/lru";
description = "Scalable LRU caches for OCaml";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.isc;
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.isc;
};
}
26 changes: 10 additions & 16 deletions pkgs/development/ocaml-modules/psq/default.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
{ lib, buildDunePackage, fetchurl, seq }:

if !stdenv.lib.versionAtLeast ocaml.version "4.02"
then throw "psq is not available for OCaml ${ocaml.version}"
else

stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-psq-${version}";
version = "0.1.0";
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "psq";
version = "0.2.0";

src = fetchurl {
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-${version}.tbz";
sha256 = "08ghgdivbjrxnaqc3hsb69mr9s2ql5ds0fb97b7z6zimzqibz6lp";
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
};

buildInputs = [ ocaml findlib ocamlbuild topkg ];

inherit (topkg) buildPhase installPhase;
propagatedBuildInputs = [ seq ];

meta = {
description = "Functional Priority Search Queues for OCaml";
homepage = "https://github.com/pqwy/psq";
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.isc;
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.isc;
};
}
9 changes: 3 additions & 6 deletions pkgs/development/python-modules/elementpath/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
{ buildPythonPackage
, lib
, fetchFromGitHub
}:
{ lib, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
version = "1.1.8";
version = "1.3.0";
pname = "elementpath";

src = fetchFromGitHub {
owner = "sissaschool";
repo = "elementpath";
rev = "v${version}";
sha256 = "0krczvf8r6pb3hb8qaxl9h2b4qwg180xk66gyxjf002im7ri75aj";
sha256 = "0ahqqqpcf3fd6xcdhiwwscincyj6h5xyjaacnqxwph1y1b8mnzyw";
};

# avoid circular dependency with xmlschema which directly depends on this
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/hcloud/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@

buildPythonPackage rec {
pname = "hcloud";
version = "1.6.1";
version = "1.6.2";

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

propagatedBuildInputs = [ future requests python-dateutil ];
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/xmlschema/default.nix
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@
}:

buildPythonPackage rec {
version = "1.0.13";
version = "1.0.15";
pname = "xmlschema";

src = fetchFromGitHub {
owner = "sissaschool";
repo = "xmlschema";
rev = "v${version}";
sha256 = "182439gqhlxhr9rdi9ak33z4ffy1w9syhykkckkl6mq050c80qdr";
sha256 = "1s8ggvy2s7513cxcal3r37rn1bhpkxhq3hs5m9pgvmrysxjdz8lb";
};

propagatedBuildInputs = [ elementpath ];
@@ -25,6 +25,7 @@ buildPythonPackage rec {
--replace "SKIP_REMOTE_TESTS = " "SKIP_REMOTE_TESTS = True #"
pytest . \
--ignore=xmlschema/tests/test_factory.py \
--ignore=xmlschema/tests/test_memory.py \
--ignore=xmlschema/tests/test_validators.py \
--ignore=xmlschema/tests/test_schemas.py \
-k 'not element_tree_import_script'
23 changes: 23 additions & 0 deletions pkgs/tools/package-management/cargo-deps/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
pname = "cargo-deps";
version = "1.1.1";

src = fetchFromGitHub {
owner = "m-cat";
repo = pname;
rev = "ab93f5655900e49fb0360ccaf72b2b61b6b428ef";
sha256 = "16181p7ghvy9mqippg1xi2cw7yxvicis8v6n39wly5qw05i57aw2";
};

cargoSha256 = "1a9svdw1cgk6s7gqpsq3r25wxa2gr2xddqkc1cjk7hf6sk327cpv";

meta = with lib; {
description = "Cargo subcommand for building dependency graphs of Rust projects";
homepage = https://github.com/m-cat/cargo-deps;
license = licenses.mit;
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -8431,6 +8431,7 @@ in
cargo-audit = callPackage ../tools/package-management/cargo-audit {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-deps = callPackage ../tools/package-management/cargo-deps { };
cargo-download = callPackage ../tools/package-management/cargo-download { };
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
cargo-graph = callPackage ../tools/package-management/cargo-graph { };
2 changes: 1 addition & 1 deletion pkgs/top-level/coq-packages.nix
Original file line number Diff line number Diff line change
@@ -127,7 +127,7 @@ in rec {
version = "8.9.1";
};
coq_8_10 = callPackage ../applications/science/logic/coq {
version = "8.10+beta3";
version = "8.10.0";
};

coqPackages_8_5 = mkCoqPackages coq_8_5;