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: c26dbef830a2
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: 57c69ff78189
Choose a head ref

Commits on Dec 1, 2018

  1. sd-image: Slims the ext4 filesystem even more.

    This is to try and squeeze more lost space from the image, so that hydra
    starts building it again.
    
    The fsck previous to the resize2fs is required so resize2fs works.
    
    The one afterwards is a sanity check.
    
    Using `-M` from resize2fs will not give much saved space due to a known
    (in the manual) issue.
    
    ```
    [samueldr@aarch64:~/nixpkgs]$ ls -lh result-*/*/*.img
    -r--r--r-- 1 root root 2.2G Jan  1  1970 result-original/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    -r--r--r-- 1 root root 2.1G Jan  1  1970 result-M/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    -r--r--r-- 1 root root 1.9G Jan  1  1970 result-slimmed/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    ```
    
    ```
    [samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-original
    /nix/store/c8k9n78gylx293rjh762fr05a069kxp2-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3844125000
    
    [samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-slimmed
    /nix/store/962238skj5mnzhrsmjy23dyzmxk77sp4-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3447473208
    ```
    samueldr committed Dec 1, 2018
    Copy the full SHA
    61bdaad View commit details

Commits on Dec 5, 2018

  1. Copy the full SHA
    5205aaa View commit details
  2. soapyrtlsdr: init at 0.2.5

    ragnard committed Dec 5, 2018
    Copy the full SHA
    963b113 View commit details
  3. dockerTools.buildImage: support using a layered image in fromImage

    Docker images used to be, essentially, a linked list of layers. Each
    layer would have a tarball and a json document pointing to its parent,
    and the image pointed to the top layer:
    
        imageA  ----> layerA
                        |
                        v
                      layerB
                        |
                        v
                      layerC
    
    The current image spec changed this format to where the Image defined
    the order and set of layers:
    
        imageA  ---> layerA
                |--> layerB
                `--> layerC
    
    For backwards compatibility, docker produces images which follow both
    specs: layers point to parents, and images also point to the entire
    list:
    
        imageA  ---> layerA
                |      |
                |      v
                |--> layerB
                |      |
                |      v
                `--> layerC
    
    This is nice for tooling which supported the older version and never
    updated to support the newer format.
    
    Our `buildImage` code only supported the old version, so in order for
    `buildImage` to properly generate an image based on another image
    with `fromImage`, the parent image's layers must fully support the old
    mechanism.
    
    This is not a problem in general, but is a problem with
    `buildLayeredImage`.
    
    `buildLayeredImage` creates images with newer image spec, because
    individual store paths don't have a guaranteed parent layer. Including
    a specific parent ID in the layer's json makes the output less likely
    to cache hit when published or pulled.
    
    This means until now, `buildLayeredImage` could not be the input to
    `buildImage`.
    
    The changes in this PR change `buildImage` to only use the layer's
    manifest when locating parent IDs. This does break buildImage on
    extremely old Docker images, though I do wonder how many of these
    exist.
    
    This work has been sponsored by Target.
    grahamc committed Dec 5, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    grahamc Graham Christensen
    Copy the full SHA
    c88337c View commit details

Commits on Dec 6, 2018

  1. home-assistant: 0.82.1 -> 0.83.3

    Robert Schütz committed Dec 6, 2018
    Copy the full SHA
    b63bb15 View commit details
  2. Merge pull request #51580 from ragnard/soapyrtlsdr

    soapyrtlsdr: init at 0.2.5
    markuskowa authored Dec 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3861b9c View commit details
  3. Copy the full SHA
    007e177 View commit details
  4. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    20c6acb View commit details
  5. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    3a90505 View commit details
  6. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    577d73e View commit details
  7. Merge pull request #51631 from seqizz/pass_genphrase

    passExtensions.pass-genphrase: init at 0.1
    rasendubi authored Dec 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cc8deff View commit details
  8. btrfs-progs: 4.19 -> 4.19.1

    Fixes build of snapper
    spencerjanssen committed Dec 6, 2018
    Copy the full SHA
    67aa6cd View commit details
  9. Merge pull request #51572 from georgewhewell/qmltermwidget-fix-darwin

    qmltermwidget: add missing utmp lib on darwin
    c0bw3b authored Dec 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    61bb42b View commit details
  10. Merge pull request #51638 from spencerjanssen/btrfs-progs-4.19.1

    btrfs-progs: 4.19 -> 4.19.1
    markuskowa authored Dec 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3776a9e View commit details
  11. Merge pull request #51207 from samueldr/fix/sd-image-slimming

    sd-image: Slims the ext4 filesystem even more.
    samueldr authored Dec 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7048866 View commit details

Commits on Dec 7, 2018

  1. Merge pull request #51622 from dotlambda/home-assistant-0.83

    home-assistant: 0.82.1 -> 0.83.3
    peterhoeg authored Dec 7, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    728aaf4 View commit details
  2. scrcpy: 1.3 -> 1.5

    tomberek authored and worldofpeace committed Dec 7, 2018
    Copy the full SHA
    b17eaa3 View commit details
  3. vivaldi: correct hash

    Fixes #51635
    worldofpeace committed Dec 7, 2018
    Copy the full SHA
    5256cfd View commit details
  4. ocamlPackages.javalib: 2.3.5 -> 3.0

    ocamlPackages.sawja: 1.5.3 -> 1.5.6
    vbgl committed Dec 7, 2018
    Copy the full SHA
    b684e3d View commit details
  5. teyjus: fix build by using omake from ocaml 4.02 package set

    Ben Darwin authored and vbgl committed Dec 7, 2018
    Copy the full SHA
    9852c74 View commit details
  6. remove omake_rc1 from all-packages.nix since it doesn't build

    Ben Darwin authored and vbgl committed Dec 7, 2018
    Copy the full SHA
    cf9743d View commit details
  7. flow: 0.86.0 -> 0.87.0

    marsam authored and vbgl committed Dec 7, 2018
    Copy the full SHA
    88b4875 View commit details
  8. nixos/tests: Fix wrong arch in runInMachine test

    Since 83b27f6, the tests were moved
    into all-tests.nix and some of the tooling has changed so that
    subattributes of test expressions are now recursively evaluated until a
    derivation with a .test attribute has been found.
    
    Unfortunately this isn't the case for all of the tests and the
    runInMachine doesn't use the makeTest function other tests are using but
    instead uses runInMachine, which doesn't generate a .test attribute.
    
    Whener a .test attribute wasn't found by the new handleTest function, it
    recurses down again until there is no value left that is an attribute
    set and subsequently returns its unchanged value. This however has the
    drawback that instead of getting different attributes for each
    architecture we only get the last architecture in the supportedSystems
    list.
    
    In the case of the release.nix, the last architecture in
    supportedSystems is "aarch64-linux", so the runInMachine test is always
    built on that architecture.
    
    In order to work around this, I changed runInMachine to emit a .test
    attribute so that it looks to handleTest like it was a test created via
    makeTest.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    aszlig committed Dec 7, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    776f084 View commit details
  9. Merge pull request #51528 from grahamc/buildImage-on-layered-image

    dockertools buildImage: support new-style image specs
    nlewo authored Dec 7, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f7e67be View commit details
  10. Merge pull request #51646 from worldofpeace/vivaldi/correct-hash

    vivaldi: correct hash
    flokli authored Dec 7, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    57c69ff View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3940,6 +3940,11 @@
github = "seppeljordan";
name = "Sebastian Jordan";
};
seqizz = {
email = "seqizz@gmail.com";
github = "seqizz";
name = "Gurkan Gur";
};
sfrijters = {
email = "sfrijters@gmail.com";
github = "sfrijters";
19 changes: 19 additions & 0 deletions nixos/lib/make-ext4-fs.nix
Original file line number Diff line number Diff line change
@@ -94,5 +94,24 @@ pkgs.stdenv.mkDerivation {
cat errorlog
return 1
fi
(
# Resizes **snugly** to its actual limits (or closer to)
free=$(dumpe2fs $out | grep '^Free blocks:')
blocksize=$(dumpe2fs $out | grep '^Block size:')
blocks=$(dumpe2fs $out | grep '^Block count:')
blocks=$((''${blocks##*:})) # format the number.
blocksize=$((''${blocksize##*:})) # format the number.
# System can't boot with 0 blocks free.
# Add 16MiB of free space
fudge=$(( 16 * 1024 * 1024 / blocksize ))
size=$(( blocks - ''${free##*:} + fudge ))
echo "Resizing from $blocks blocks to $size blocks. (~ $((size*blocksize/1024/1024))MiB)"
EXT2FS_NO_MTAB_OK=yes resize2fs $out -f $size
)
# And a final fsck, because of the previous truncating.
fsck.ext4 -n -f $out
'';
}
4 changes: 4 additions & 0 deletions nixos/tests/docker-tools.nix
Original file line number Diff line number Diff line change
@@ -62,5 +62,9 @@ import ./make-test.nix ({ pkgs, ... }: {
# Ensure Layered Docker images work
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.layered-image}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.layered-image.imageName}");
# Ensure building an image on top of a layered Docker images work
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.layered-on-top}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.layered-on-top.imageName}");
'';
})
3 changes: 3 additions & 0 deletions nixos/tests/home-assistant.nix
Original file line number Diff line number Diff line change
@@ -31,6 +31,9 @@ in {
latitude = "0.0";
longitude = "0.0";
elevation = 0;
auth_providers = [
{ type = "legacy_api_password"; }
];
};
frontend = { };
http.api_password = apiPassword;
19 changes: 11 additions & 8 deletions nixos/tests/run-in-machine.nix
Original file line number Diff line number Diff line change
@@ -10,11 +10,14 @@ let
drv = pkgs.hello;
machine = { ... }: { /* services.sshd.enable = true; */ };
};
in pkgs.runCommand "verify-output" { inherit output; } ''
if [ ! -e "$output/bin/hello" ]; then
echo "Derivation built using runInMachine produced incorrect output:" >&2
ls -laR "$output" >&2
exit 1
fi
"$output/bin/hello" > "$out"
''

test = pkgs.runCommand "verify-output" { inherit output; } ''
if [ ! -e "$output/bin/hello" ]; then
echo "Derivation built using runInMachine produced incorrect output:" >&2
ls -laR "$output" >&2
exit 1
fi
"$output/bin/hello" > "$out"
'';

in test // { inherit test; } # To emulate behaviour of makeTest
12 changes: 6 additions & 6 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -13,14 +13,14 @@ let
sha256Hash = "117skqjax1xz9plarhdnrw2rwprjpybdc7mx7wggxapyy920vv5r";
};
betaVersion = {
version = "3.3.0.17"; # "Android Studio 3.3 RC 1"
build = "182.5138683";
sha256Hash = "0apc566l4gwkwvfgj50d4qxm2gw26rxdlyr8kj3kfcra9a33c2b7";
version = "3.3.0.18"; # "Android Studio 3.3 RC 2"
build = "182.5160847";
sha256Hash = "05rjwvcph0wx0p0hai5z6n9lnyhk3i5yvbvhr51jc8s3k3b6jyi5";
};
latestVersion = { # canary & dev
version = "3.4.0.5"; # "Android Studio 3.4 Canary 6"
build = "183.5146016";
sha256Hash = "1z2asimpsw15iild7c4aqicph6v327qx3ffjgvl2n8vr5rspsns1";
version = "3.4.0.6"; # "Android Studio 3.4 Canary 7"
build = "183.5159543";
sha256Hash = "0r685qqx4w1hwbd8jgrh7ks8bw9m7823ffhd3x6pl7j4b9hpc858";
};
in rec {
# Old alias
30 changes: 30 additions & 0 deletions pkgs/applications/misc/soapyrtlsdr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, rtl-sdr, soapysdr
} :

let
version = "0.2.5";

in stdenv.mkDerivation {
name = "soapyrtlsdr-${version}";

src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyRTLSDR";
rev = "soapy-rtlsdr-${version}";
sha256 = "1wyghfqq3vcbjn5w06h5ik62m6555inrlkyrsnk2r78865xilkv3";
};

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ rtl-sdr soapysdr ];

cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];

meta = with stdenv.lib; {
homepage = https://github.com/pothosware/SoapyRTLSDR;
description = "SoapySDR plugin for RTL-SDR devices";
license = licenses.mit;
maintainers = with maintainers; [ ragge ];
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/vivaldi/default.nix
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://downloads.vivaldi.com/stable/${product}-stable_${version}_amd64.deb";
sha256 = "08x6abyz65vx4ycj8ys8sib9z1adb8ybmnrqjck69b30kbz78rj2";
sha256 = "00rxp6rardxjg17g2b28y2rj8szqlainp4ga6c58z981zkxvdlls";
};

unpackPhase = ''
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ let
in {
stable = mkTelegram stableVersion;
preview = mkTelegram (stableVersion // {
version = "1.4.7";
sha256Hash = "00kjirikywdbigm4zdnm50s3wxfn9bw1yx13xz4k4ppz6amq9nrp";
version = "1.4.8";
sha256Hash = "0jn7nyvx5kmva418hi1x1awbycmhgk82gazx49kmdxspdd4nsrgj";
stable = false;
});
}
Original file line number Diff line number Diff line change
@@ -8,7 +8,15 @@

with lib;

mkDerivation rec {
let
# TODO: Not optimal (maybe we should only package the stable versions)
previewPatches = fetchFromGitHub {
owner = "primeos";
repo = "nixpkgs-tdesktop-patches";
rev = "b3c0cbce1b412443a8712c90069932bbcae87fb6";
sha256 = "1bymrciaci6plghaz7a6qwsidjm8rg5fqdh158cdp70il4g7kmw9";
};
in mkDerivation rec {
name = "telegram-desktop-${version}";
inherit version;

@@ -29,7 +37,10 @@ mkDerivation rec {
};

# TODO: libtgvoip.patch no-gtk2.patch
patches = [ "${archPatches}/tdesktop.patch" ]
patches =
(if stable
then [ "${archPatches}/tdesktop.patch" ]
else [ "${previewPatches}/tdesktop.patch" ])
# TODO: Only required to work around a compiler bug.
# This should be fixed in GCC 7.3.1 (or later?)
++ [ ./fix-internal-compiler-error.patch ];
46 changes: 31 additions & 15 deletions pkgs/build-support/docker/default.nix
Original file line number Diff line number Diff line change
@@ -188,22 +188,27 @@ rec {
# Use the name and tag to get the parent ID field.
parentID=$(jshon -e $fromImageName -e $fromImageTag -u \
< image/repositories)
cat ./image/manifest.json | jq -r '.[0].Layers | .[]' > layer-list
else
touch layer-list
fi
# Unpack all of the parent layers into the image.
lowerdir=""
while [[ -n "$parentID" ]]; do
echo "Unpacking layer $parentID"
mkdir -p image/$parentID/layer
tar -C image/$parentID/layer -xpf image/$parentID/layer.tar
rm image/$parentID/layer.tar
extractionID=0
for layerTar in $(cat layer-list); do
echo "Unpacking layer $layerTar"
extractionID=$((extractionID + 1))
mkdir -p image/$extractionID/layer
tar -C image/$extractionID/layer -xpf $layerTar
rm $layerTar
find image/$parentID/layer -name ".wh.*" -exec bash -c 'name="$(basename {}|sed "s/^.wh.//")"; mknod "$(dirname {})/$name" c 0 0; rm {}' \;
find image/$extractionID/layer -name ".wh.*" -exec bash -c 'name="$(basename {}|sed "s/^.wh.//")"; mknod "$(dirname {})/$name" c 0 0; rm {}' \;
# Get the next lower directory and continue the loop.
lowerdir=$lowerdir''${lowerdir:+:}image/$parentID/layer
parentID=$(cat image/$parentID/json \
| (jshon -e parent -u 2>/dev/null || true))
lowerdir=$lowerdir''${lowerdir:+:}image/$extractionID/layer
done
mkdir work
@@ -673,6 +678,9 @@ rec {
if [[ -n "$fromImage" ]]; then
echo "Unpacking base image..."
tar -C image -xpf "$fromImage"
cat ./image/manifest.json | jq -r '.[0].Layers | .[]' > layer-list
# Do not import the base image configuration and manifest
chmod a+w image image/*.json
rm -f image/*.json
@@ -690,6 +698,8 @@ rec {
for l in image/*/layer.tar; do
ls_tar $l >> baseFiles
done
else
touch layer-list
fi
chmod -R ug+rw image
@@ -742,17 +752,23 @@ rec {
# Use the temp folder we've been working on to create a new image.
mv temp image/$layerID
# Add the new layer ID to the beginning of the layer list
(
# originally this used `sed -i "1i$layerID" layer-list`, but
# would fail if layer-list was completely empty.
echo "$layerID/layer.tar"
cat layer-list
) | ${pkgs.moreutils}/bin/sponge layer-list
# Create image json and image manifest
imageJson=$(cat ${baseJson} | jq ". + {\"rootfs\": {\"diff_ids\": [], \"type\": \"layers\"}}")
manifestJson=$(jq -n "[{\"RepoTags\":[\"$imageName:$imageTag\"]}]")
currentID=$layerID
while [[ -n "$currentID" ]]; do
layerChecksum=$(sha256sum image/$currentID/layer.tar | cut -d ' ' -f1)
for layerTar in $(cat ./layer-list); do
layerChecksum=$(sha256sum image/$layerTar | cut -d ' ' -f1)
imageJson=$(echo "$imageJson" | jq ".history |= [{\"created\": \"$(jq -r .created ${baseJson})\"}] + .")
imageJson=$(echo "$imageJson" | jq ".rootfs.diff_ids |= [\"sha256:$layerChecksum\"] + .")
manifestJson=$(echo "$manifestJson" | jq ".[0].Layers |= [\"$currentID/layer.tar\"] + .")
currentID=$(cat image/$currentID/json | (jshon -e parent -u 2>/dev/null || true))
manifestJson=$(echo "$manifestJson" | jq ".[0].Layers |= [\"$layerTar\"] + .")
done
imageJsonChecksum=$(echo "$imageJson" | sha256sum | cut -d ' ' -f1)
19 changes: 19 additions & 0 deletions pkgs/build-support/docker/examples.nix
Original file line number Diff line number Diff line change
@@ -156,5 +156,24 @@ rec {
name = "layered-image";
tag = "latest";
config.Cmd = [ "${pkgs.hello}/bin/hello" ];
contents = [ pkgs.hello pkgs.bash pkgs.coreutils ];
};

# 11. Create an image on top of a layered image
layered-on-top = pkgs.dockerTools.buildImage {
name = "layered-on-top";
tag = "latest";
fromImage = layered-image;
extraCommands = ''
mkdir ./example-output
chmod 777 ./example-output
'';
config = {
Env = [ "PATH=${pkgs.coreutils}/bin/" ];
WorkingDir = "/example-output";
Cmd = [
"${pkgs.bash}/bin/bash" "-c" "echo hello > foo; cat foo"
];
};
};
}
7 changes: 4 additions & 3 deletions pkgs/development/libraries/qmltermwidget/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qtbase, qtquick1, qmake, qtmultimedia }:
{ stdenv, fetchFromGitHub, qtbase, qtquick1, qmake, qtmultimedia, utmp }:

stdenv.mkDerivation rec {
version = "0.1.0";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0ca500mzcqglkj0i6km0z512y3a025dbm24605xyv18l6y0l2ny3";
};

buildInputs = [ qtbase qtquick1 qtmultimedia ];
buildInputs = [ qtbase qtquick1 qtmultimedia ]
++ stdenv.lib.optional stdenv.isDarwin utmp;
nativeBuildInputs = [ qmake ];

patchPhase = ''
@@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
description = "A QML port of qtermwidget";
homepage = https://github.com/Swordfish90/qmltermwidget;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
platforms = with stdenv.lib.platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [ skeidel ];
};
}
19 changes: 6 additions & 13 deletions pkgs/development/ocaml-modules/javalib/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, which, ocaml, findlib, camlp4
{ stdenv, fetchzip, which, ocaml, findlib, camlp4
, camlzip, camomile, extlib
}:

@@ -8,15 +8,14 @@ else

let
pname = "javalib";
webpage = "http://sawja.inria.fr/";
in
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-${pname}-${version}";
version = "2.3.5";
version = "3.0";

src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/file/37655/javalib-2.3.5.tar.bz2";
sha256 = "1gks12ghcmv9lm8j4diw8bvjqxfl7xwk0sxbi227saxg9irpwwkd";
src = fetchzip {
url = "https://github.com/javalib-team/javalib/archive/v${version}.tar.gz";
sha256 = "02zgn1z1wj3rbg9xqmbagys91bnsy27iwrngkivzhlykyaw9vf6n";
};

buildInputs = [ which ocaml findlib camlp4 ];
@@ -30,17 +29,11 @@ stdenv.mkDerivation rec {
configureScript = "./configure.sh";
dontAddPrefix = "true";

preBuild = ''
make ptrees;
make installptrees;
export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH;
'';

propagatedBuildInputs = [ camlzip camomile extlib ];

meta = with stdenv.lib; {
description = "A library that parses Java .class files into OCaml data structures";
homepage = "${webpage}";
homepage = https://javalib-team.github.io/javalib/;
license = licenses.lgpl3;
maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or [];
6 changes: 3 additions & 3 deletions pkgs/development/ocaml-modules/sawja/default.nix
Original file line number Diff line number Diff line change
@@ -4,16 +4,16 @@ assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";

let
pname = "sawja";
version = "1.5.3";
version = "1.5.6";
webpage = "http://sawja.inria.fr/";
in
stdenv.mkDerivation rec {

name = "ocaml${ocaml.version}-${pname}-${version}";

src = fetchurl {
url = https://gforge.inria.fr/frs/download.php/file/37403/sawja-1.5.3.tar.bz2;
sha256 = "17vfknr126vfhpmr14j75sg8r47xz7pw7fba4nsdw3k7rq43vcn2";
url = https://gforge.inria.fr/frs/download.php/file/37819/sawja-1.5.6.tar.bz2;
sha256 = "0dkfdc8h94r7kj4p8q57fz7fssypgmjrix8xff0va7x1nya5sdp3";
};

buildInputs = [ which perl ocaml findlib camlp4 ];
4 changes: 2 additions & 2 deletions pkgs/development/tools/analysis/flow/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, ocamlPackages, cf-private, CoreServices }:

stdenv.mkDerivation rec {
version = "0.86.0";
version = "0.87.0";
name = "flow-${version}";

src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "refs/tags/v${version}";
sha256 = "0sxg066bfkgqyq2fcjkff4jbhpxrzsqgz53h2b4wscxr076r9bjp";
sha256 = "10f7rwkgh40wl8z3wgcsvyzm65zsf3zd143q4nv6q6g3m9izh40k";
};

installPhase = ''
24 changes: 19 additions & 5 deletions pkgs/misc/scrcpy/default.nix
Original file line number Diff line number Diff line change
@@ -9,10 +9,10 @@
}:

let
version = "1.3";
version = "1.5";
prebuilt_server = fetchurl {
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}.jar";
sha256 = "1ha04wfmghblwr9ajfl96cswacfgrk0b7klq2ixfvw1kgwhmm6hg";
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}-fixversion/scrcpy-server-v${version}.jar";
sha256 = "1pi47khfrs9pygs32l9rj8l927z0sdm8bhkrzzkk6ki9c1psnynr";
};
in
stdenv.mkDerivation rec {
@@ -21,10 +21,23 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "Genymobile";
repo = "scrcpy";
rev = "v${version}";
sha256 = "02szi8w3w0lacyz42hlayxififi863qpm63yg9qir3jcl2vs7vdk";
rev = "v${version}-fixversion";
sha256 = "0magmc44pahw1f4jhzkhjlfc31mk3qq43hzn9513idcl4kh4sb8i";
};

# postPatch:
# screen.c: When run without a hardware accelerator, this allows the command to continue working rather than failing unexpectedly.
# This can happen when running on non-NixOS because then scrcpy seems to have a hard time using the host OpenGL-supporting hardware.
# It would be better to fix the OpenGL problem, but that seems much more intrusive.
#
# command.c: When copying over the prebuilt binary to mobile, it also copies the permissions of the nix store, and thus it cannot delete normally.
postPatch = ''
substituteInPlace app/src/screen.c \
--replace "SDL_RENDERER_ACCELERATED" "SDL_RENDERER_ACCELERATED || SDL_RENDERER_SOFTWARE"
substituteInPlace app/src/command.c \
--replace 'const char *const adb_cmd[] = {"shell", "rm", path};' 'const char *const adb_cmd[] = {"shell", "rm", "-f", path};'
'';

nativeBuildInputs = [ makeWrapper meson ninja pkgconfig ];

buildInputs = [ ffmpeg SDL2 ];
@@ -34,6 +47,7 @@ stdenv.mkDerivation rec {
echo -n > server/meson.build
'';

mesonFlags = ["-Doverride_server_path=${prebuilt_server}"];
postInstall = ''
mkdir -p "$out/share/scrcpy"
ln -s "${prebuilt_server}" "$out/share/scrcpy/scrcpy-server.jar"
53 changes: 48 additions & 5 deletions pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# Do not edit!

{
version = "0.82.1";
version = "0.83.3";
components = {
"abode" = ps: with ps; [ ];
"ads" = ps: with ps; [ ];
@@ -21,6 +21,7 @@
"alarm_control_panel.homematicip_cloud" = ps: with ps; [ ];
"alarm_control_panel.ialarm" = ps: with ps; [ ];
"alarm_control_panel.ifttt" = ps: with ps; [ aiohttp-cors pyfttt ];
"alarm_control_panel.lupusec" = ps: with ps; [ ];
"alarm_control_panel.manual" = ps: with ps; [ ];
"alarm_control_panel.manual_mqtt" = ps: with ps; [ paho-mqtt ];
"alarm_control_panel.mqtt" = ps: with ps; [ paho-mqtt ];
@@ -48,6 +49,7 @@
"arduino" = ps: with ps; [ ];
"arlo" = ps: with ps; [ ];
"asterisk_mbox" = ps: with ps; [ ];
"asuswrt" = ps: with ps; [ ];
"august" = ps: with ps; [ ];
"auth" = ps: with ps; [ aiohttp-cors ];
"auth.indieauth" = ps: with ps; [ ];
@@ -95,6 +97,7 @@
"binary_sensor.envisalink" = ps: with ps; [ ];
"binary_sensor.ffmpeg_motion" = ps: with ps; [ ha-ffmpeg ];
"binary_sensor.ffmpeg_noise" = ps: with ps; [ ha-ffmpeg ];
"binary_sensor.fibaro" = ps: with ps; [ ];
"binary_sensor.flic" = ps: with ps; [ ];
"binary_sensor.fritzbox" = ps: with ps; [ ];
"binary_sensor.gc100" = ps: with ps; [ ];
@@ -110,6 +113,7 @@
"binary_sensor.knx" = ps: with ps; [ ];
"binary_sensor.konnected" = ps: with ps; [ aiohttp-cors netdisco ];
"binary_sensor.linode" = ps: with ps; [ linode-api ];
"binary_sensor.lupusec" = ps: with ps; [ ];
"binary_sensor.maxcube" = ps: with ps; [ ];
"binary_sensor.modbus" = ps: with ps; [ ];
"binary_sensor.mqtt" = ps: with ps; [ paho-mqtt ];
@@ -124,6 +128,7 @@
"binary_sensor.openuv" = ps: with ps; [ ];
"binary_sensor.pilight" = ps: with ps; [ ];
"binary_sensor.ping" = ps: with ps; [ ];
"binary_sensor.point" = ps: with ps; [ ];
"binary_sensor.qwikswitch" = ps: with ps; [ ];
"binary_sensor.rachio" = ps: with ps; [ ];
"binary_sensor.raincloud" = ps: with ps; [ ];
@@ -156,6 +161,7 @@
"binary_sensor.verisure" = ps: with ps; [ ];
"binary_sensor.volvooncall" = ps: with ps; [ ];
"binary_sensor.vultr" = ps: with ps; [ vultr ];
"binary_sensor.w800rf32" = ps: with ps; [ ];
"binary_sensor.wemo" = ps: with ps; [ ];
"binary_sensor.wink" = ps: with ps; [ ];
"binary_sensor.wirelesstag" = ps: with ps; [ ];
@@ -250,6 +256,7 @@
"climate.toon" = ps: with ps; [ ];
"climate.touchline" = ps: with ps; [ ];
"climate.tuya" = ps: with ps; [ ];
"climate.velbus" = ps: with ps; [ ];
"climate.venstar" = ps: with ps; [ ];
"climate.vera" = ps: with ps; [ ];
"climate.wink" = ps: with ps; [ ];
@@ -260,6 +267,7 @@
"cloud.const" = ps: with ps; [ ];
"cloud.http_api" = ps: with ps; [ ];
"cloud.iot" = ps: with ps; [ ];
"cloud.prefs" = ps: with ps; [ ];
"cloudflare" = ps: with ps; [ ];
"coinbase" = ps: with ps; [ ];
"comfoconnect" = ps: with ps; [ ];
@@ -286,6 +294,7 @@
"cover.command_line" = ps: with ps; [ ];
"cover.deconz" = ps: with ps; [ ];
"cover.demo" = ps: with ps; [ ];
"cover.fibaro" = ps: with ps; [ ];
"cover.garadget" = ps: with ps; [ ];
"cover.gogogate2" = ps: with ps; [ ];
"cover.group" = ps: with ps; [ ];
@@ -339,6 +348,7 @@
"device_tracker.fritz" = ps: with ps; [ fritzconnection ];
"device_tracker.geofency" = ps: with ps; [ aiohttp-cors ];
"device_tracker.google_maps" = ps: with ps; [ ];
"device_tracker.googlehome" = ps: with ps; [ ];
"device_tracker.gpslogger" = ps: with ps; [ aiohttp-cors ];
"device_tracker.hitron_coda" = ps: with ps; [ ];
"device_tracker.huawei_lte" = ps: with ps; [ ];
@@ -356,8 +366,7 @@
"device_tracker.mysensors" = ps: with ps; [ ];
"device_tracker.netgear" = ps: with ps; [ ];
"device_tracker.nmap_tracker" = ps: with ps; [ ];
"device_tracker.owntracks" = ps: with ps; [ libnacl paho-mqtt ];
"device_tracker.owntracks_http" = ps: with ps; [ aiohttp-cors libnacl ];
"device_tracker.owntracks" = ps: with ps; [ aiohttp-cors libnacl ];
"device_tracker.ping" = ps: with ps; [ ];
"device_tracker.quantum_gateway" = ps: with ps; [ ];
"device_tracker.ritassist" = ps: with ps; [ ];
@@ -370,6 +379,7 @@
"device_tracker.tile" = ps: with ps; [ ];
"device_tracker.tomato" = ps: with ps; [ ];
"device_tracker.tplink" = ps: with ps; [ ];
"device_tracker.traccar" = ps: with ps; [ ];
"device_tracker.trackr" = ps: with ps; [ ];
"device_tracker.ubus" = ps: with ps; [ ];
"device_tracker.unifi" = ps: with ps; [ pyunifi ];
@@ -417,6 +427,7 @@
"fan.zwave" = ps: with ps; [ ];
"feedreader" = ps: with ps; [ feedparser ];
"ffmpeg" = ps: with ps; [ ha-ffmpeg ];
"fibaro" = ps: with ps; [ ];
"folder_watcher" = ps: with ps; [ watchdog ];
"foursquare" = ps: with ps; [ aiohttp-cors ];
"freedns" = ps: with ps; [ ];
@@ -427,6 +438,7 @@
"geo_location.demo" = ps: with ps; [ ];
"geo_location.geo_json_events" = ps: with ps; [ ];
"geo_location.nsw_rural_fire_service_feed" = ps: with ps; [ ];
"geofency" = ps: with ps; [ aiohttp-cors ];
"goalfeed" = ps: with ps; [ ];
"google" = ps: with ps; [ google_api_python_client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ aiohttp-cors ];
@@ -534,6 +546,7 @@
"light.elkm1" = ps: with ps; [ ];
"light.enocean" = ps: with ps; [ ];
"light.eufy" = ps: with ps; [ ];
"light.fibaro" = ps: with ps; [ ];
"light.flux_led" = ps: with ps; [ ];
"light.futurenow" = ps: with ps; [ ];
"light.greenwave" = ps: with ps; [ ];
@@ -563,6 +576,7 @@
"light.mysensors" = ps: with ps; [ ];
"light.mystrom" = ps: with ps; [ ];
"light.nanoleaf_aurora" = ps: with ps; [ nanoleaf ];
"light.niko_home_control" = ps: with ps; [ ];
"light.opple" = ps: with ps; [ ];
"light.osramlightify" = ps: with ps; [ ];
"light.piglow" = ps: with ps; [ ];
@@ -574,6 +588,7 @@
"light.sensehat" = ps: with ps; [ ];
"light.sisyphus" = ps: with ps; [ ];
"light.skybell" = ps: with ps; [ ];
"light.switch" = ps: with ps; [ ];
"light.tellduslive" = ps: with ps; [ ];
"light.tellstick" = ps: with ps; [ ];
"light.template" = ps: with ps; [ ];
@@ -622,6 +637,10 @@
"logger" = ps: with ps; [ ];
"logi_circle" = ps: with ps; [ ];
"lovelace" = ps: with ps; [ ];
"luftdaten" = ps: with ps; [ luftdaten ];
"luftdaten.config_flow" = ps: with ps; [ ];
"luftdaten.const" = ps: with ps; [ ];
"lupusec" = ps: with ps; [ ];
"lutron" = ps: with ps; [ ];
"lutron_caseta" = ps: with ps; [ ];
"mailbox" = ps: with ps; [ aiohttp-cors ];
@@ -671,6 +690,7 @@
"media_player.nadtcp" = ps: with ps; [ ];
"media_player.onkyo" = ps: with ps; [ onkyo-eiscp ];
"media_player.openhome" = ps: with ps; [ ];
"media_player.panasonic_bluray" = ps: with ps; [ ];
"media_player.panasonic_viera" = ps: with ps; [ wakeonlan ];
"media_player.pandora" = ps: with ps; [ pexpect ];
"media_player.philips_js" = ps: with ps; [ ];
@@ -707,6 +727,7 @@
"mqtt.const" = ps: with ps; [ ];
"mqtt.discovery" = ps: with ps; [ ];
"mqtt.server" = ps: with ps; [ aiohttp-cors hbmqtt ];
"mqtt.subscription" = ps: with ps; [ ];
"mqtt_eventstream" = ps: with ps; [ paho-mqtt ];
"mqtt_statestream" = ps: with ps; [ paho-mqtt ];
"mychevy" = ps: with ps; [ ];
@@ -715,6 +736,8 @@
"mysensors.const" = ps: with ps; [ ];
"mysensors.device" = ps: with ps; [ ];
"mysensors.gateway" = ps: with ps; [ ];
"mysensors.handler" = ps: with ps; [ ];
"mysensors.helpers" = ps: with ps; [ ];
"namecheapdns" = ps: with ps; [ ];
"neato" = ps: with ps; [ ];
"nest" = ps: with ps; [ ];
@@ -779,6 +802,7 @@
"notify.syslog" = ps: with ps; [ ];
"notify.telegram" = ps: with ps; [ python-telegram-bot ];
"notify.tibber" = ps: with ps; [ ];
"notify.tplink_lte" = ps: with ps; [ ];
"notify.twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"notify.twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
"notify.twitter" = ps: with ps; [ ];
@@ -795,11 +819,16 @@
"openuv" = ps: with ps; [ ];
"openuv.config_flow" = ps: with ps; [ ];
"openuv.const" = ps: with ps; [ ];
"owntracks" = ps: with ps; [ aiohttp-cors libnacl ];
"owntracks.config_flow" = ps: with ps; [ ];
"panel_custom" = ps: with ps; [ aiohttp-cors ];
"panel_iframe" = ps: with ps; [ aiohttp-cors ];
"persistent_notification" = ps: with ps; [ ];
"pilight" = ps: with ps; [ ];
"plant" = ps: with ps; [ ];
"point" = ps: with ps; [ aiohttp-cors ];
"point.config_flow" = ps: with ps; [ ];
"point.const" = ps: with ps; [ ];
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];
"proximity" = ps: with ps; [ ];
"python_script" = ps: with ps; [ ];
@@ -808,6 +837,8 @@
"rainbird" = ps: with ps; [ ];
"raincloud" = ps: with ps; [ ];
"rainmachine" = ps: with ps; [ ];
"rainmachine.config_flow" = ps: with ps; [ ];
"rainmachine.const" = ps: with ps; [ ];
"raspihats" = ps: with ps; [ ];
"recorder" = ps: with ps; [ sqlalchemy ];
"recorder.const" = ps: with ps; [ ];
@@ -864,6 +895,7 @@
"sensor.arest" = ps: with ps; [ ];
"sensor.arlo" = ps: with ps; [ ];
"sensor.arwn" = ps: with ps; [ paho-mqtt ];
"sensor.asuswrt" = ps: with ps; [ ];
"sensor.bbox" = ps: with ps; [ ];
"sensor.bh1750" = ps: with ps; [ ];
"sensor.bitcoin" = ps: with ps; [ ];
@@ -922,13 +954,15 @@
"sensor.fail2ban" = ps: with ps; [ ];
"sensor.fastdotcom" = ps: with ps; [ ];
"sensor.fedex" = ps: with ps; [ ];
"sensor.fibaro" = ps: with ps; [ ];
"sensor.fido" = ps: with ps; [ ];
"sensor.file" = ps: with ps; [ ];
"sensor.filesize" = ps: with ps; [ ];
"sensor.filter" = ps: with ps; [ ];
"sensor.fints" = ps: with ps; [ ];
"sensor.fitbit" = ps: with ps; [ aiohttp-cors ];
"sensor.fixer" = ps: with ps; [ ];
"sensor.flunearyou" = ps: with ps; [ ];
"sensor.folder" = ps: with ps; [ ];
"sensor.foobot" = ps: with ps; [ ];
"sensor.fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
@@ -973,6 +1007,7 @@
"sensor.kwb" = ps: with ps; [ ];
"sensor.lacrosse" = ps: with ps; [ ];
"sensor.lastfm" = ps: with ps; [ pylast ];
"sensor.launch_library" = ps: with ps; [ ];
"sensor.linky" = ps: with ps; [ ];
"sensor.linux_battery" = ps: with ps; [ batinfo ];
"sensor.logi_circle" = ps: with ps; [ ];
@@ -982,7 +1017,6 @@
"sensor.luftdaten" = ps: with ps; [ luftdaten ];
"sensor.lyft" = ps: with ps; [ ];
"sensor.magicseaweed" = ps: with ps; [ ];
"sensor.melissa" = ps: with ps; [ ];
"sensor.meteo_france" = ps: with ps; [ ];
"sensor.metoffice" = ps: with ps; [ ];
"sensor.mfi" = ps: with ps; [ ];
@@ -1026,6 +1060,7 @@
"sensor.pilight" = ps: with ps; [ ];
"sensor.plex" = ps: with ps; [ ];
"sensor.pocketcasts" = ps: with ps; [ ];
"sensor.point" = ps: with ps; [ ];
"sensor.pollen" = ps: with ps; [ numpy ];
"sensor.postnl" = ps: with ps; [ ];
"sensor.pushbullet" = ps: with ps; [ pushbullet ];
@@ -1045,13 +1080,15 @@
"sensor.ripple" = ps: with ps; [ ];
"sensor.rmvtransport" = ps: with ps; [ ];
"sensor.rtorrent" = ps: with ps; [ ];
"sensor.ruter" = ps: with ps; [ ];
"sensor.sabnzbd" = ps: with ps; [ ];
"sensor.scrape" = ps: with ps; [ beautifulsoup4 ];
"sensor.season" = ps: with ps; [ ephem ];
"sensor.sense" = ps: with ps; [ ];
"sensor.sensehat" = ps: with ps; [ ];
"sensor.serial" = ps: with ps; [ ];
"sensor.serial_pm" = ps: with ps; [ ];
"sensor.seventeentrack" = ps: with ps; [ ];
"sensor.shodan" = ps: with ps; [ ];
"sensor.sht31" = ps: with ps; [ ];
"sensor.sigfox" = ps: with ps; [ ];
@@ -1068,12 +1105,13 @@
"sensor.speedtest" = ps: with ps; [ speedtest-cli ];
"sensor.spotcrime" = ps: with ps; [ ];
"sensor.sql" = ps: with ps; [ sqlalchemy ];
"sensor.srp_energy" = ps: with ps; [ ];
"sensor.starlingbank" = ps: with ps; [ ];
"sensor.startca" = ps: with ps; [ xmltodict ];
"sensor.statistics" = ps: with ps; [ ];
"sensor.steam_online" = ps: with ps; [ ];
"sensor.supervisord" = ps: with ps; [ ];
"sensor.swiss_hydrological_data" = ps: with ps; [ xmltodict ];
"sensor.swiss_hydrological_data" = ps: with ps; [ ];
"sensor.swiss_public_transport" = ps: with ps; [ ];
"sensor.syncthru" = ps: with ps; [ ];
"sensor.synologydsm" = ps: with ps; [ ];
@@ -1082,6 +1120,7 @@
"sensor.tado" = ps: with ps; [ ];
"sensor.tahoma" = ps: with ps; [ ];
"sensor.tank_utility" = ps: with ps; [ ];
"sensor.tautulli" = ps: with ps; [ ];
"sensor.tcp" = ps: with ps; [ ];
"sensor.ted5000" = ps: with ps; [ xmltodict ];
"sensor.teksavvy" = ps: with ps; [ ];
@@ -1188,6 +1227,7 @@
"switch.elkm1" = ps: with ps; [ ];
"switch.enocean" = ps: with ps; [ ];
"switch.eufy" = ps: with ps; [ ];
"switch.fibaro" = ps: with ps; [ ];
"switch.flux" = ps: with ps; [ ];
"switch.fritzbox" = ps: with ps; [ ];
"switch.fritzdect" = ps: with ps; [ ];
@@ -1208,6 +1248,7 @@
"switch.konnected" = ps: with ps; [ aiohttp-cors netdisco ];
"switch.linode" = ps: with ps; [ linode-api ];
"switch.litejet" = ps: with ps; [ ];
"switch.lupusec" = ps: with ps; [ ];
"switch.lutron_caseta" = ps: with ps; [ ];
"switch.mfi" = ps: with ps; [ ];
"switch.mochad" = ps: with ps; [ ];
@@ -1285,6 +1326,7 @@
"tibber" = ps: with ps; [ ];
"timer" = ps: with ps; [ ];
"toon" = ps: with ps; [ ];
"tplink_lte" = ps: with ps; [ ];
"tradfri" = ps: with ps; [ ];
"tradfri.config_flow" = ps: with ps; [ ];
"tradfri.const" = ps: with ps; [ ];
@@ -1325,6 +1367,7 @@
"verisure" = ps: with ps; [ ];
"volvooncall" = ps: with ps; [ ];
"vultr" = ps: with ps; [ vultr ];
"w800rf32" = ps: with ps; [ ];
"wake_on_lan" = ps: with ps; [ wakeonlan ];
"water_heater" = ps: with ps; [ ];
"water_heater.demo" = ps: with ps; [ ];
12 changes: 6 additions & 6 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
@@ -34,10 +34,10 @@ let
"8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6")
(mkOverride "cryptography_vectors" "2.3.1" # required by cryptography==2.3.1
"bf4d9b61dce69c49e830950aa36fad194706463b0b6dfe81425b9e0bc6644d46")
(mkOverride "requests" "2.20.0"
"99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c")
(mkOverride "ruamel_yaml" "0.15.72"
"97652b9e3a76958cf6684d5d963674adf345d8cc192ddd95e2a21b22cda29f40")
(mkOverride "requests" "2.20.1"
"ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263")
(mkOverride "ruamel_yaml" "0.15.78"
"85793c5fe321e9202eba521b0bb3e6303bcb61f6e56378f59e874ca36a7e9d5f")
(mkOverride "voluptuous" "0.11.5"
"567a56286ef82a9d7ae0628c5842f65f516abcb496e74f3f59f1d7b28df314ef")
(mkOverride "voluptuous-serialize" "2.0.0"
@@ -85,7 +85,7 @@ let
extraBuildInputs = extraPackages py.pkgs;

# Don't forget to run parse-requirements.py after updating
hassVersion = "0.82.1";
hassVersion = "0.83.3";

in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@@ -100,7 +100,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "home-assistant";
rev = version;
sha256 = "0d53xp5miz1vm1b5qfznzx33qzxcxi65plp412dyk4r1ag7rh38v";
sha256 = "1lv9ixv0qd97xpcpb9zzhn82jsgiq4kmcfnfraksq60xwzzqkwar";
};

propagatedBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/frontend.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "home-assistant-frontend";
version = "20181103.3";
version = "20181121.1";

src = fetchPypi {
inherit pname version;
sha256 = "b1b598f637ffc4c37a3d35aa3b912216f0340cb43fa6c50f4617536669d19499";
sha256 = "9cedc4dc4258823b084b9d7634995ab038be109fea4c087e38412b9ef1cb6433";
};

propagatedBuildInputs = [ user-agents ];
4 changes: 2 additions & 2 deletions pkgs/tools/filesystems/btrfs-progs/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@

stdenv.mkDerivation rec {
name = "btrfs-progs-${version}";
version = "4.19";
version = "4.19.1";

src = fetchurl {
url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz";
sha256 = "0jd3bsg3117ysr82n03w33sqw1g9z1ciixcxrwgp90yghvjzp4fm";
sha256 = "1f7gpk9206ph081fr0af8k57i58zjb03xwd8k69177a7rzsjmn04";
};

nativeBuildInputs = [
1 change: 1 addition & 0 deletions pkgs/tools/security/pass/extensions/default.nix
Original file line number Diff line number Diff line change
@@ -12,4 +12,5 @@ with pkgs;
pass-otp = callPackage ./otp.nix {};
pass-tomb = callPackage ./tomb.nix {};
pass-update = callPackage ./update.nix {};
pass-genphrase = callPackage ./genphrase.nix {};
}
32 changes: 32 additions & 0 deletions pkgs/tools/security/pass/extensions/genphrase.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ stdenv, pass, fetchFromGitHub }:

stdenv.mkDerivation rec {
name = "pass-genphrase-${version}";
version = "0.1";

src = fetchFromGitHub {
owner = "congma";
repo = "pass-genphrase";
rev = "${version}";
sha256 = "0vcg3b79n1r949qfn8ns85bq2mfsmbf4jw2dlzif8425n8ppfsgd";
};

dontBuild = true;

installTargets = "globalinstall";

installFlags = [ "PREFIX=$(out)" ];

postFixup = ''
substituteInPlace $out/lib/password-store/extensions/genphrase.bash \
--replace '$EXTENSIONS' "$out/lib/password-store/extensions/"
'';

meta = with stdenv.lib; {
description = "Pass extension that generates memorable passwords";
homepage = https://github.com/congma/pass-genphrase;
license = licenses.gpl3;
maintainers = with maintainers; [ seqizz ];
platforms = platforms.unix;
};
}
18 changes: 11 additions & 7 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -7534,10 +7534,11 @@ in
lua = lua5_1;
};

teyjus = callPackage ../development/compilers/teyjus {
inherit (ocaml-ng.ocamlPackages_4_02) ocaml;
omake = omake_rc1;
};
teyjus = callPackage ../development/compilers/teyjus (
with ocaml-ng.ocamlPackages_4_02; {
inherit ocaml;
omake = omake_rc1;
});

thrust = callPackage ../development/tools/thrust {
gconf = pkgs.gnome2.GConf;
@@ -8813,8 +8814,6 @@ in

omake = callPackage ../development/tools/ocaml/omake { };

inherit (ocamlPackages) omake_rc1;

omniorb = callPackage ../development/tools/omniorb { };

opengrok = callPackage ../development/tools/misc/opengrok { };
@@ -12126,7 +12125,9 @@ in

qca-qt5 = callPackage ../development/libraries/qca-qt5 { };

qmltermwidget = callPackage ../development/libraries/qmltermwidget { };
qmltermwidget = callPackage ../development/libraries/qmltermwidget {
inherit (darwin.apple_sdk.libs) utmp;
};
qmlbox2d = libsForQt59.callPackage ../development/libraries/qmlbox2d { };

qscintilla = callPackage ../development/libraries/qscintilla {
@@ -12407,10 +12408,13 @@ in
soapybladerf
soapyhackrf
soapyremote
soapyrtlsdr
soapyuhd
];
};

soapyrtlsdr = callPackage ../applications/misc/soapyrtlsdr { };

soapyuhd = callPackage ../applications/misc/soapyuhd { };

socket_wrapper = callPackage ../development/libraries/socket_wrapper { };