mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
875b61eeb9
svn path=/nixpkgs/trunk/; revision=32010
19 lines
606 B
Nix
19 lines
606 B
Nix
{ cabal }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal-file-th";
|
|
version = "0.2.1";
|
|
sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1";
|
|
patchPhase = "sed -i cabal-file-th.cabal -e 's|Cabal >= 1.10 && < 1.13|Cabal|'";
|
|
meta = {
|
|
homepage = "http://github.com/nkpart/cabal-file-th";
|
|
description = "Template Haskell expressions for reading fields from a project's cabal file";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|