summary refs log tree commit diff
path: root/pkgs/applications/audio/csound
diff options
context:
space:
mode:
authorhlolli <hlolli@gmail.com>2017-03-11 23:40:29 +0100
committerJörg Thalheim <joerg@higgsboson.tk>2017-03-12 20:28:32 +0000
commitf303ac7c79b000a8438cd62438db64b17f13f792 (patch)
tree74572b851720c757b6719719a2e802959f7b97b5 /pkgs/applications/audio/csound
parentc05ac3ea126300ee65345bd0b07ab212aa9b5f6a (diff)
downloadnixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar.gz
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar.bz2
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar.lz
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar.xz
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.tar.zst
nixpkgs-f303ac7c79b000a8438cd62438db64b17f13f792.zip
csound: 6.04 -> 6.08.1
fixes #23767
Diffstat (limited to 'pkgs/applications/audio/csound')
-rw-r--r--pkgs/applications/audio/csound/default.nix26
1 files changed, 15 insertions, 11 deletions
diff --git a/pkgs/applications/audio/csound/default.nix b/pkgs/applications/audio/csound/default.nix
index 166ed592ad8..976ecb675e7 100644
--- a/pkgs/applications/audio/csound/default.nix
+++ b/pkgs/applications/audio/csound/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, libsndfile, flex, bison
+{ stdenv, fetchFromGitHub, cmake, libsndfile, flex, bison, boost
 , alsaLib ? null
 , libpulseaudio ? null
 , tcltk ? null
@@ -11,26 +11,30 @@
 # , wiiuse ? null
 }:
 
-stdenv.mkDerivation {
-  name = "csound-6.04";
+stdenv.mkDerivation rec {
+  name = "csound-6.08.1";
+  version = "6.08.1";
 
   enableParallelBuilding = true;
 
   hardeningDisable = [ "format" ];
 
-  src = fetchurl {
-    url = mirror://sourceforge/csound/Csound6.04.tar.gz;
-    sha256 = "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g";
+  src = fetchFromGitHub {
+    owner = "csound";
+    repo = "csound";
+    rev = version;
+    sha256 = "03xnva17sw35ga3n96x1zdfgw913dga1hccly85wzfn0kxz4rld9";
   };
 
-  buildInputs = [ cmake libsndfile flex bison alsaLib libpulseaudio tcltk ];
+  nativeBuildInputs = [ cmake flex bison ];
+  buildInputs = [ libsndfile alsaLib libpulseaudio tcltk boost ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
     homepage = http://www.csounds.com/;
-    license = stdenv.lib.licenses.gpl2;
-    maintainers = [stdenv.lib.maintainers.marcweber];
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.gpl2;
+    maintainers = [maintainers.marcweber];
+    platforms = platforms.linux;
   };
 }