Skip to content

Commit

Permalink
deconz: 2.23.00 -> 2.26.3
Browse files Browse the repository at this point in the history
Upstream doesn't produce the *-dev package anymore, so remove it.
(Apparently it's possible to get back the header files by building from
source:
https://github.com/dresden-elektronik/deconz-rest-plugin/blob/v2.26.3/BUILDING.md#build-with-cmake.)
  • Loading branch information
bjornfor committed Apr 20, 2024
1 parent c7ab550 commit 0f5cb6b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pkgs/servers/deconz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@

stdenv.mkDerivation rec {
pname = "deconz";
version = "2.23.00";
version = "2.26.3";

src = fetchurl {
url = "https://deconz.dresden-elektronik.de/ubuntu/beta/deconz-${version}-qt5.deb";
sha256 = "sha256-TMftm1fz8c8ndSyA3HUd7JWT0DINxvbdUSDrmVMwmws=";
};

devsrc = fetchurl {
url = "https://deconz.dresden-elektronik.de/ubuntu/beta/deconz-dev-${version}.deb";
sha256 = "sha256-uW5iF3rvFlowFhMBVDTOHkJ2K4LBgAxxC79tXpMhy5U=";
sha256 = "sha256-BE/apFPutNdhlS1NWRHdVcVrt/16aFfZ6zRcjphIlZA=";
};

nativeBuildInputs = [ dpkg autoPatchelfHook makeWrapper wrapQtAppsHook ];
Expand All @@ -36,7 +31,6 @@ stdenv.mkDerivation rec {
runHook preUnpack
dpkg -x $src ./deconz-src
dpkg -x $devsrc ./deconz-devsrc
runHook postUnpack
'';
Expand All @@ -46,7 +40,6 @@ stdenv.mkDerivation rec {
mkdir -p "$out"
cp -r deconz-src/* "$out"
cp -r deconz-devsrc/* "$out"
# Flatten /usr and manually merge lib/ and usr/lib/, since mv refuses to.
mv "$out/lib" "$out/orig_lib"
Expand Down

0 comments on commit 0f5cb6b

Please sign in to comment.