deconz: 2.23.00 -> 2.26.3
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.)
This commit is contained in:
parent
c7ab550bbc
commit
0f5cb6b702
1 changed files with 2 additions and 9 deletions
|
@ -16,16 +16,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "deconz";
|
pname = "deconz";
|
||||||
version = "2.23.00";
|
version = "2.26.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://deconz.dresden-elektronik.de/ubuntu/beta/deconz-${version}-qt5.deb";
|
url = "https://deconz.dresden-elektronik.de/ubuntu/beta/deconz-${version}-qt5.deb";
|
||||||
sha256 = "sha256-TMftm1fz8c8ndSyA3HUd7JWT0DINxvbdUSDrmVMwmws=";
|
sha256 = "sha256-BE/apFPutNdhlS1NWRHdVcVrt/16aFfZ6zRcjphIlZA=";
|
||||||
};
|
|
||||||
|
|
||||||
devsrc = fetchurl {
|
|
||||||
url = "https://deconz.dresden-elektronik.de/ubuntu/beta/deconz-dev-${version}.deb";
|
|
||||||
sha256 = "sha256-uW5iF3rvFlowFhMBVDTOHkJ2K4LBgAxxC79tXpMhy5U=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ dpkg autoPatchelfHook makeWrapper wrapQtAppsHook ];
|
nativeBuildInputs = [ dpkg autoPatchelfHook makeWrapper wrapQtAppsHook ];
|
||||||
|
@ -36,7 +31,6 @@ stdenv.mkDerivation rec {
|
||||||
runHook preUnpack
|
runHook preUnpack
|
||||||
|
|
||||||
dpkg -x $src ./deconz-src
|
dpkg -x $src ./deconz-src
|
||||||
dpkg -x $devsrc ./deconz-devsrc
|
|
||||||
|
|
||||||
runHook postUnpack
|
runHook postUnpack
|
||||||
'';
|
'';
|
||||||
|
@ -46,7 +40,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mkdir -p "$out"
|
mkdir -p "$out"
|
||||||
cp -r deconz-src/* "$out"
|
cp -r deconz-src/* "$out"
|
||||||
cp -r deconz-devsrc/* "$out"
|
|
||||||
|
|
||||||
# Flatten /usr and manually merge lib/ and usr/lib/, since mv refuses to.
|
# Flatten /usr and manually merge lib/ and usr/lib/, since mv refuses to.
|
||||||
mv "$out/lib" "$out/orig_lib"
|
mv "$out/lib" "$out/orig_lib"
|
||||||
|
|
Loading…
Reference in a new issue