Unverified Commit 3b3b5cbb authored by Naïm Favier's avatar Naïm Favier Committed by GitHub
Browse files

Merge pull request #270705 from zeuner/csound-expression-dynamic

haskellPackages.csound-expression-dynamic: unbreak
parents 6f6376ec 272fa4a1
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
@@ -904,6 +904,63 @@ self: super: {
    '';
  }) super.structured-haskell-mode;

  inherit (let
    csound_src_git = pkgs.fetchFromGitHub {
      owner = "spell-music";
      repo = "csound-expression";
      rev = "345df2c91c9831dd895f58951990165598504814";
      hash = "sha256-6qPiKsZwZpqB2kmckKDKyQPTcWPIaVwi+EYs74tRod0=";
    };
  in {
    # Compilation on recent GHC is fixed on git, but not yet on hackage
    # https://github.com/spell-music/csound-expression/pull/68
    csound-expression-typed =
      assert super.csound-expression-typed.version == "0.2.7";
      overrideCabal (drv: {
        src = csound_src_git + "/csound-expression-typed";
        editedCabalFile = null;
      }) super.csound-expression-typed;

    csound-expression-dynamic =
      assert super.csound-expression-dynamic.version == "0.3.9";
      overrideCabal (drv: {
        src = csound_src_git + "/csound-expression-dynamic";
        editedCabalFile = null;
        libraryHaskellDepends = drv.libraryHaskellDepends ++ [
          self.base64-bytestring self.cereal self.cereal-text
          self.cryptohash-sha256 self.pretty-show self.safe
          self.unordered-containers self.vector self.wl-pprint-text
        ];
      }) super.csound-expression-dynamic;

    csound-expression =
      assert super.csound-expression.version == "5.4.3";
      overrideCabal (drv: {
        src = csound_src_git + "/csound-expression";
        editedCabalFile = null;
      }) super.csound-expression;

    csound-expression-opcodes =
      assert super.csound-expression-opcodes.version == "0.0.5.1";
      overrideCabal (drv: {
        src = csound_src_git + "/csound-expression-opcodes";
        editedCabalFile = null;
      }) super.csound-expression-opcodes;

    csound-sampler =
      assert super.csound-sampler.version == "0.0.10.1";
      overrideCabal (drv: {
        src = csound_src_git + "/csound-sampler";
        editedCabalFile = null;
      }) super.csound-sampler;
  })
    csound-expression-typed
    csound-expression-dynamic
    csound-expression
    csound-expression-opcodes
    csound-sampler
    ;

  # Make elisp files available at a location where people expect it.
  hindent = (overrideCabal (drv: {
    # We cannot easily byte-compile these files, unfortunately, because they
+0 −1
Original line number Diff line number Diff line
@@ -1001,7 +1001,6 @@ broken-packages:
  - cryptsy-api # failure in job https://hydra.nixos.org/build/233195814 at 2023-09-02
  - csa # failure in job https://hydra.nixos.org/build/233233907 at 2023-09-02
  - cse-ghc-plugin # failure in job https://hydra.nixos.org/build/233251963 at 2023-09-02
  - csound-expression-dynamic # failure in job https://hydra.nixos.org/build/233225568 at 2023-09-02
  - CSPM-Frontend # failure in job https://hydra.nixos.org/build/233219295 at 2023-09-02
  - cspretty # failure in job https://hydra.nixos.org/build/233246796 at 2023-09-02
  - css-easings # failure in job https://hydra.nixos.org/build/233203513 at 2023-09-02
+0 −7
Original line number Diff line number Diff line
@@ -1005,12 +1005,6 @@ dont-distribute-packages:
 - cryptonite-cd
 - crystalfontz
 - csg
 - csound-catalog
 - csound-controllers
 - csound-expression
 - csound-expression-opcodes
 - csound-expression-typed
 - csound-sampler
 - cspmchecker
 - csv-enumerator
 - ctpl
@@ -3877,7 +3871,6 @@ dont-distribute-packages:
 - techlab
 - telegram-bot
 - telegram-raw-api
 - temporal-csound
 - ten-lens
 - ten-unordered-containers
 - tensorflow-opgen
+0 −9
Original line number Diff line number Diff line
@@ -77372,7 +77372,6 @@ self: {
       ];
       description = "a gallery of Csound instruments";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csound-controllers" = callPackage
@@ -77384,7 +77383,6 @@ self: {
       libraryHaskellDepends = [ base csound-expression ];
       testHaskellDepends = [ base csound-expression ];
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csound-expression" = callPackage
@@ -77406,7 +77404,6 @@ self: {
       ];
       description = "library to make electronic music";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csound-expression-dynamic" = callPackage
@@ -77426,8 +77423,6 @@ self: {
       ];
       description = "dynamic core for csound-expression library";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
       broken = true;
     }) {};
  "csound-expression-opcodes" = callPackage
@@ -77445,7 +77440,6 @@ self: {
       ];
       description = "opcodes for the library csound-expression";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csound-expression-typed" = callPackage
@@ -77468,7 +77462,6 @@ self: {
       ];
       description = "typed core for the library csound-expression";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csound-sampler" = callPackage
@@ -77482,7 +77475,6 @@ self: {
       libraryHaskellDepends = [ base csound-expression transformers ];
       description = "A musical sampler based on Csound";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "csp" = callPackage
@@ -295736,7 +295728,6 @@ self: {
       ];
       description = "library to make electronic music, brings together temporal-music-notation and csound-expression packages";
       license = lib.licenses.bsd3;
       hydraPlatforms = lib.platforms.none;
     }) {};
  "temporal-media" = callPackage