summary refs log tree commit diff
path: root/pkgs/applications/audio/soundscape-renderer
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2022-03-06 17:04:44 +0100
committerFelix Buehler <account@buehler.rocks>2022-03-06 17:04:44 +0100
commit410b386d156818ecccb215c387a96077776e4473 (patch)
tree2b136e4acd6d76302132ab36a956a56eb3722358 /pkgs/applications/audio/soundscape-renderer
parent9df220063865e3593fa474e2ed67d881912731b6 (diff)
downloadnixpkgs-410b386d156818ecccb215c387a96077776e4473.tar
nixpkgs-410b386d156818ecccb215c387a96077776e4473.tar.gz
nixpkgs-410b386d156818ecccb215c387a96077776e4473.tar.bz2
nixpkgs-410b386d156818ecccb215c387a96077776e4473.tar.lz
nixpkgs-410b386d156818ecccb215c387a96077776e4473.tar.xz
nixpkgs-410b386d156818ecccb215c387a96077776e4473.tar.zst
nixpkgs-410b386d156818ecccb215c387a96077776e4473.zip
ssr: refactor
Diffstat (limited to 'pkgs/applications/audio/soundscape-renderer')
-rw-r--r--pkgs/applications/audio/soundscape-renderer/default.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/applications/audio/soundscape-renderer/default.nix b/pkgs/applications/audio/soundscape-renderer/default.nix
index fa9860ab248..3ec2cda4280 100644
--- a/pkgs/applications/audio/soundscape-renderer/default.nix
+++ b/pkgs/applications/audio/soundscape-renderer/default.nix
@@ -1,5 +1,6 @@
-{ lib, stdenv
-, fetchgit
+{ lib
+, stdenv
+, fetchFromGitHub
 , autoreconfHook
 , help2man
 , pkg-config
@@ -11,24 +12,25 @@
 , boost
 , ecasound
 , glibcLocales
-, libGLU, libGL # Needed because help2man basically does a ./ssr-binaural  --help and ssr-binaural needs libGL
+, libGLU
+, libGL # Needed because help2man basically does a ./ssr-binaural  --help and ssr-binaural needs libGL
 }:
 
 stdenv.mkDerivation {
-  pname = "soundscape-renderer-unstable";
+  pname = "soundscape-renderer";
+  version = "unstable-2016-11-03";
 
-  version = "2016-11-03";
-
-  src = fetchgit {
-    url = "https://github.com/SoundScapeRenderer/ssr";
+  src = fetchFromGitHub {
+    owner = "SoundScapeRenderer";
+    repo = "ssr";
     rev = "0dd0136dd24e47b63d8a4e05de467f5c7b047ec9";
-    sha256 = "095x2spv9bmg6pi71mpajnghbqj58ziflg16f9854awx0qp9d8x7";
+    sha256 = "sha256-9s+Elaxz9kX+Nle1CqBU/9r0hdI4dhsJ6GrNqvP5HIs=";
   };
 
   # Without it doesn't find all of the boost libraries.
-  BOOST_LIB_DIR="${boost}/lib";
+  BOOST_LIB_DIR = "${boost}/lib";
   # uses the deprecated get_generic_category() in boost_system
-  NIX_CFLAGS_COMPILE="-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";
+  NIX_CFLAGS_COMPILE = "-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";
 
   LC_ALL = "en_US.UTF-8";