diff --git a/pkgs/development/libraries/haskell/reactive-banana-wx/default.nix b/pkgs/development/libraries/haskell/reactive-banana-wx/default.nix index 5459a2cab722..c07d405045c7 100644 --- a/pkgs/development/libraries/haskell/reactive-banana-wx/default.nix +++ b/pkgs/development/libraries/haskell/reactive-banana-wx/default.nix @@ -1,22 +1,18 @@ -{ cabal, cabalMacosx, reactiveBanana, wx, wxcore, buildExamples ? false, executablePath ? null}: +{ cabal, cabalMacosx, reactiveBanana, wx, wxcore }: -assert buildExamples -> executablePath != null; - -cabal.mkDerivation (self: - let lib = self.stdenv.lib; - in - { +cabal.mkDerivation (self: { pname = "reactive-banana-wx"; version = "0.6.0.0"; sha256 = "1pxcymh6xpmbkbc8i2hvjbki9s81mx69wrp8nl1i0y4pppzi8ihp"; isLibrary = true; isExecutable = true; - buildDepends = [ cabalMacosx reactiveBanana wx wxcore ] ++ lib.optional buildExamples executablePath; - configureFlags = lib.optionalString buildExamples "-fbuildExamples"; + buildDepends = [ cabalMacosx reactiveBanana wx wxcore ]; + configureFlags = "-f-buildExamples"; meta = { homepage = "http://haskell.org/haskellwiki/Reactive-banana"; description = "Examples for the reactive-banana library, using wxHaskell"; - license = lib.licenses.bsd3; + license = self.stdenv.lib.licenses.bsd3; platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; }; })