summary refs log tree commit diff
path: root/pkgs/tools/graphics/structure-synth/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-09-04 20:19:44 +0200
committerVladimír Čunát <v@cunat.cz>2023-09-04 20:19:44 +0200
commitb4cc33304856c45c4965127ea2905c7f20cb4eaa (patch)
treec654168463fae5e46c3f0e41c2bc735e27995858 /pkgs/tools/graphics/structure-synth/default.nix
parent0a1690dd6bf9ed7f3d6d0caeb8036274deafcdac (diff)
parentfcf38c9baca5f009ceb601353dcb1857c29d3e06 (diff)
downloadnixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.gz
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.bz2
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.lz
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.xz
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.zst
nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/tools/graphics/structure-synth/default.nix')
-rw-r--r--pkgs/tools/graphics/structure-synth/default.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/pkgs/tools/graphics/structure-synth/default.nix b/pkgs/tools/graphics/structure-synth/default.nix
deleted file mode 100644
index e61489fadf0..00000000000
--- a/pkgs/tools/graphics/structure-synth/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ lib, stdenv, fetchurl, qt4, qmake4Hook, unzip, libGLU, makeWrapper }:
-
-stdenv.mkDerivation rec {
-  pname = "structure-synth";
-  version = "1.5.0";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/structuresynth/StructureSynth-Source-v${version}.zip";
-    sha256 = "1kiammx46719az6jzrav8yrwz82nk4m72ybj0kpbnvp9wfl3swbb";
-  };
-
-  buildInputs = [ qt4 libGLU ];
-  nativeBuildInputs = [ qmake4Hook makeWrapper unzip ];
-
-  # Thanks to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672000#15:
-  patches = [ ./gcc47.patch ];
-
-  enableParallelBuilding = true;
-
-  preConfigure = ''
-    ${qt4}/bin/qmake -project -after "CONFIG+=opengl" -after "QT+=xml opengl script" -after "unix:LIBS+=-lGLU"
-  '';
-
-  installPhase = ''
-    mkdir -p $out/bin;
-    mkdir -p $out/share/Examples $out/share/Misc;
-    cp "Structure Synth Source Code" $out/bin/structure-synth;
-    cp -r Examples/* $out/share/Examples;
-    cp -r Misc/* $out/share/Misc;
-  '';
-
-  # Structure Synth expects to see 'Examples' and 'Misc' directory in
-  # either $HOME or $PWD - so help it along by moving $PWD to 'share',
-  # where we just copied those two directories:
-  preFixup = ''
-    wrapProgram "$out/bin/structure-synth" --chdir "$out/share"
-  '';
-
-  meta = with lib; {
-    description = "Application for generating 3D structures by specifying a design grammar";
-    homepage = "https://structuresynth.sourceforge.net";
-    maintainers = with maintainers; [ hodapp ];
-    license = licenses.gpl3;
-    platforms = platforms.linux;
-  };
-}