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: 9242acfbbc62
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: 7e076bf29111
Choose a head ref
  • 13 commits
  • 7 files changed
  • 7 contributors

Commits on Mar 31, 2020

  1. Copy the full SHA
    74051c0 View commit details

Commits on Apr 2, 2020

  1. minecraft-server: build against jre_headlessRemoves an unnecessary de…

    …pendency on gtk, etc.
    Gaelan committed Apr 2, 2020
    Copy the full SHA
    9b540cc View commit details
  2. pythonPackages.cvxpy: explicit numpy/scipy

    Make numpy/scipy dependencies explicit, based on conda install
    instructions for cvxpy.
    Slight formatting fix.
    drewrisinger committed Apr 2, 2020
    Copy the full SHA
    53b803e View commit details
  3. pythonPackages.osqp: remove mkl

    Also add scipy.
    Cleanup commit slightly for formatting.
    Removing mkl allows this to be built in Hydra (mkl = unfree),
    and it seems the mkl dependency is somewhat optional given downstream
    packages build cleanly when removing mkl.
    drewrisinger committed Apr 2, 2020
    Copy the full SHA
    beedfa5 View commit details

Commits on Apr 3, 2020

  1. Copy the full SHA
    4b822bb View commit details
  2. datasette: 0.35 -> 0.39

    drewrisinger committed Apr 3, 2020
    Copy the full SHA
    fb25290 View commit details
  3. Copy the full SHA
    654a471 View commit details
  4. Merge pull request #84200 from cole-h/zoxide

    zoxide: 0.3.0 -> 0.3.1
    worldofpeace authored Apr 3, 2020
    Copy the full SHA
    2fd3d51 View commit details
  5. Merge pull request #84124 from drewrisinger/dr-pr-py-osqp-remove-mkl

    pythonPackages.osqp: remove mkl dependency
    bhipple authored Apr 3, 2020
    Copy the full SHA
    c5313eb View commit details
  6. Merge pull request #84120 from drewrisinger/dr-pr-cvxpy-fix

    pythonPackages.cvxpy: add explicit numpy/scipy dependencies
    bhipple authored Apr 3, 2020
    Copy the full SHA
    c51ba89 View commit details
  7. Merge pull request #84197 from drewrisinger/dr-pr-python-pint

    pythonPackages.pint: 0.9 -> 0.11
    bhipple authored Apr 3, 2020
    Copy the full SHA
    f6b382b View commit details
  8. Merge pull request #84075 from Gaelan/minecraft-headless

    minecraft-server: build against jre_headless
    infinisil authored Apr 3, 2020
    Copy the full SHA
    7f20da7 View commit details
  9. Merge pull request #83880 from bandresen/clj-kondo_update_03202020

    clj-kondo: 2019.12.14 -> 2020.03.20
    worldofpeace authored Apr 3, 2020
    Copy the full SHA
    7e076bf View commit details
8 changes: 5 additions & 3 deletions pkgs/development/python-modules/cvxpy/default.nix
Original file line number Diff line number Diff line change
@@ -29,7 +29,9 @@ buildPythonPackage rec {
cvxopt
ecos
multiprocess
numpy
osqp
scipy
scs
six
];
@@ -39,11 +41,11 @@ buildPythonPackage rec {
nosetests
'';

meta = {
meta = with lib; {
description = "A domain-specific language for modeling convex optimization problems in Python.";
homepage = "https://www.cvxpy.org/";
downloadPage = "https://github.com/cvxgrp/cvxpy/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drewrisinger ];
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger ];
};
}
53 changes: 32 additions & 21 deletions pkgs/development/python-modules/datasette/default.nix
Original file line number Diff line number Diff line change
@@ -1,49 +1,52 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiofiles
, click
, click-default-group
, janus
, jinja2
, hupper
, pint
, pluggy
, pytest
, uvicorn
# Check Inputs
, pytestCheckHook
, pytestrunner
, pytest-asyncio
, black
, aiohttp
, beautifulsoup4
, uvicorn
, asgiref
, aiofiles
}:

buildPythonPackage rec {
pname = "datasette";
version = "0.35";
version = "0.39";

src = fetchFromGitHub {
owner = "simonw";
repo = "datasette";
rev = version;
sha256 = "0v6af7agg27lapz1nbab07595v4hl2x5wm2f03drj81f7pm8y7hc";
sha256 = "07d46512bc9sdan9lv39sf1bwlf7vf1bfhcsm825vk7sv7g9kczd";
};

nativeBuildInputs = [ pytestrunner ];

propagatedBuildInputs = [
aiofiles
click
click-default-group
janus
jinja2
hupper
pint
pluggy
uvicorn
aiofiles
];

checkInputs = [
pytest
pytestCheckHook
pytest-asyncio
aiohttp
beautifulsoup4
@@ -53,24 +56,32 @@ buildPythonPackage rec {

postConfigure = ''
substituteInPlace setup.py \
--replace "click-default-group==1.2" "click-default-group" \
--replace "Sanic==0.7.0" "Sanic" \
--replace "hupper==1.0" "hupper" \
--replace "pint~=0.8.1" "pint" \
--replace "pluggy~=0.12.0" "pint" \
--replace "Jinja2==2.10.1" "Jinja2" \
--replace "uvicorn~=0.8.4" "uvicorn"
--replace "click~=7.1.1" "click" \
--replace "click-default-group~=1.2.2" "click-default-group" \
--replace "Jinja2~=2.10.3" "Jinja2" \
--replace "hupper~=1.9" "hupper" \
--replace "pint~=0.9" "pint" \
--replace "pluggy~=0.13.0" "pint" \
--replace "uvicorn~=0.11" "uvicorn" \
--replace "aiofiles~=0.4.0" "aiofiles" \
--replace "janus~=0.4.0" "janus" \
--replace "PyYAML~=5.3" "PyYAML"
'';

# many tests require network access
# test_black fails on darwin
checkPhase = ''
pytest --ignore tests/test_api.py \
--ignore tests/test_csv.py \
--ignore tests/test_html.py \
--ignore tests/test_black.py \
-k 'not facet'
'';
dontUseSetuptoolsCheck = true;
pytestFlagsArray = [
"--ignore=tests/test_api.py"
"--ignore=tests/test_csv.py"
"--ignore=tests/test_html.py"
"--ignore=tests/test_docs.py"
"--ignore=tests/test_black.py"
];
disabledTests = [
"facet"
"_invalid_database" # checks error message when connecting to invalid database
];

meta = with lib; {
description = "An instant JSON API for your SQLite databases";
18 changes: 8 additions & 10 deletions pkgs/development/python-modules/osqp/default.nix
Original file line number Diff line number Diff line change
@@ -4,10 +4,9 @@
, cmake
, future
, numpy
# check inputs
, scipy
# check inputs
, pytestCheckHook
, mkl
}:

buildPythonPackage rec {
@@ -23,16 +22,15 @@ buildPythonPackage rec {
dontUseCmakeConfigure = true;

propagatedBuildInputs = [
numpy
future
numpy
scipy
];

checkInputs = [ scipy pytestCheckHook mkl ];
pythonImportsCheck = [ "osqp" ];
dontUseSetuptoolsCheck = true; # running setup.py fails if false
preCheck = ''
export LD_LIBRARY_PATH=${lib.strings.makeLibraryPath [ mkl ]}:$LD_LIBRARY_PATH;
'';
checkInputs = [ pytestCheckHook ];
dontUseSetuptoolsCheck = true; # don't run checks twice
disabledTests = [ "mkl_" ];

meta = with lib; {
description = "The Operator Splitting QP Solver";
@@ -44,8 +42,8 @@ buildPythonPackage rec {
where x in R^n is the optimization variable
'';
homepage = "https://osqp.org/";
downloadPage = "https://github.com/oxfordcontrol/osqp";
downloadPage = "https://github.com/oxfordcontrol/osqp-python/releases";
license = licenses.asl20;
maintainers = with lib.maintainers; [ drewrisinger ];
maintainers = with maintainers; [ drewrisinger ];
};
}
26 changes: 23 additions & 3 deletions pkgs/development/python-modules/pint/default.nix
Original file line number Diff line number Diff line change
@@ -2,20 +2,40 @@
, buildPythonPackage
, fetchPypi
, isPy27
, pythonOlder
, funcsigs
, setuptools_scm
# Check Inputs
, pytestCheckHook
, numpy
, matplotlib
, uncertainties
}:

buildPythonPackage rec {
pname = "pint";
version = "0.9";
version = "0.11";

src = fetchPypi {
inherit version;
pname = "Pint";
sha256 = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2";
sha256 = "0kfgnmcs6z9ndhzvwg2xzhpwxgyyagdsdz5dns1jy40fa1q113rh";
};

propagatedBuildInputs = lib.optional isPy27 funcsigs;
disabled = pythonOlder "3.6";

propagatedBuildInputs = [
setuptools_scm
] ++ lib.optional isPy27 funcsigs;

# Test suite explicitly requires pytest
checkInputs = [
pytestCheckHook
numpy
matplotlib
uncertainties
];
dontUseSetuptoolsCheck = true;

meta = with lib; {
description = "Physical quantities module";
4 changes: 2 additions & 2 deletions pkgs/development/tools/clj-kondo/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec{
pname = "clj-kondo";
version = "2019.12.14";
version = "2020.03.20";

reflectionJson = fetchurl {
name = "reflection.json";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec{

src = fetchurl {
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "1mprwqc5ydqn2wkssrj2g3wbpjss7flv584wss9j0jjfgy7jc4s1";
sha256 = "05z80cdzk8aw3j0nxfynzwpb9hhpbl54bbrv18dpqj5dj893mbgm";
};

dontUnpack = true;
17 changes: 9 additions & 8 deletions pkgs/games/minecraft-server/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv, fetchurl, jre }:
{ stdenv, fetchurl, jre_headless }:
stdenv.mkDerivation {
pname = "minecraft-server";
version = "1.15.2";

src = fetchurl {
url = "https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar";
url =
"https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar";
sha256 = "12kynrpxgcdg8x12wcvwkxka0fxgm5siqg8qq0nnmv0443f8dkw0";
};

@@ -16,19 +17,19 @@ stdenv.mkDerivation {
cat > $out/bin/minecraft-server << EOF
#!/bin/sh
exec ${jre}/bin/java \$@ -jar $out/lib/minecraft/server.jar nogui
exec ${jre_headless}/bin/java \$@ -jar $out/lib/minecraft/server.jar nogui
EOF
chmod +x $out/bin/minecraft-server
'';

phases = "installPhase";

meta = {
meta = with stdenv.lib; {
description = "Minecraft Server";
homepage = "https://minecraft.net";
license = stdenv.lib.licenses.unfreeRedistributable;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice tomberek costrouc];
homepage = "https://minecraft.net";
license = licenses.unfreeRedistributable;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice tomberek costrouc ];
};
}
6 changes: 3 additions & 3 deletions pkgs/tools/misc/zoxide/default.nix
Original file line number Diff line number Diff line change
@@ -6,20 +6,20 @@

rustPlatform.buildRustPackage rec {
pname = "zoxide";
version = "0.3.0";
version = "0.3.1";

src = fetchFromGitHub {
owner = "ajeetdsouza";
repo = "zoxide";
rev = "v${version}";
sha256 = "0w4by34chm2baqldxx72bhjz8ggsllpir1df07gxi5fjkmil8jy9";
sha256 = "1sad18d0pxfdy9gvjmixzgdskg1l7djvzp0aipx7pz0lyi6gs23z";
};

buildInputs = [
fzf
];

cargoSha256 = "19fziapiv5w9wxslw47rf3lgc2lv7dyl3n8py6bsddq41fzay30w";
cargoSha256 = "1sx3s1jnfxylbjr3x6v6j8a6zkl7hfyj4alzlyrsw36b1b64pwqm";

meta = with lib; {
description = "A fast cd command that learns your habits";