{ cabal, syb }:

cabal.mkDerivation (self: {
  pname = "srcloc";
  version = "0.2.0";
  sha256 = "1p63gachz8ccv61ih3jb995kcg72g7vkihryb2ak7d8bxxxx3irs";
  buildDepends = [ syb ];
  meta = {
    homepage = "http://www.eecs.harvard.edu/~mainland/";
    description = "Data types for managing source code locations";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})

{ cabal, syb, symbol }:

cabal.mkDerivation (self: {
  pname = "srcloc";
  version = "0.1.2";
  sha256 = "08awipz6al7jk7d974am5v9fkp87i5dy6d457mx1rv7lczlyhws9";
  buildDepends = [ syb symbol ];
  meta = {
    homepage = "http://www.eecs.harvard.edu/~mainland/";
    description = "Data types for managing source code locations";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [ self.stdenv.lib.maintainers.andres ];
  };
})

Revert "haskell-srcloc: update to version 0.2.0"
Revert "haskell-srcloc: update to version 0.2.0"

This reverts commit ffbdd377f15b2af032285345c1b4ed013e6ed953.

Version 0.2.0 breaks accelerate-cuda, and doesn't seem to be required
or used in many other places, so I'll just revert.
