Merge pull request #98290 from yvesf/qcad-3.25.2.0

This commit is contained in:
Gabriel Ebner 2020-09-20 17:04:11 +02:00 committed by GitHub
commit 4e7b124f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,13 @@
mkDerivationWith stdenv.mkDerivation rec { mkDerivationWith stdenv.mkDerivation rec {
pname = "qcad"; pname = "qcad";
version = "3.25.0.0"; version = "3.25.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qcad"; owner = "qcad";
repo = "qcad"; repo = "qcad";
rev = "v${version}"; rev = "v${version}";
sha256 = "07qph2645m1wi9yi04ixdvx8dli03q1vimj3laqdmnpipi54lljc"; sha256 = "1lz6q9n2p0l7k8rwqsdj6av9p3426423g5avc4y6s7nbk36280mz";
}; };
patches = [ patches = [
@ -61,6 +61,10 @@ mkDerivationWith stdenv.mkDerivation rec {
cp -r plugins $out/lib/plugins cp -r plugins $out/lib/plugins
cp -r patterns $out/lib/patterns cp -r patterns $out/lib/patterns
# workaround to fix the library browser:
rm -r $out/lib/plugins/sqldrivers
ln -s -t $out/lib/plugins ${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}/sqldrivers
install -Dm644 scripts/qcad_icon.svg $out/share/icons/hicolor/scalable/apps/qcad.svg install -Dm644 scripts/qcad_icon.svg $out/share/icons/hicolor/scalable/apps/qcad.svg
runHook postInstall runHook postInstall