2015-03-31 16:49:38 +02:00
|
|
|
{ stdenv, ghcWithPackages, gtk3, makeWrapper }:
|
|
|
|
|
|
|
|
let
|
2015-04-16 14:52:46 +02:00
|
|
|
leksahEnv = ghcWithPackages (self: [ self.leksah-server self.leksah self.cabal-install ]);
|
2015-03-31 16:49:38 +02:00
|
|
|
in stdenv.mkDerivation {
|
2018-07-19 21:55:04 +02:00
|
|
|
name = "leksah-${leksahEnv.version}";
|
2015-03-31 16:49:38 +02:00
|
|
|
|
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
makeWrapper ${leksahEnv}/bin/leksah $out/bin/leksah \
|
|
|
|
--prefix PATH : "${leksahEnv}/bin" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
2018-09-13 02:25:54 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
broken = true; # 2018-09-13, no successful hydra build since 2017-08-19
|
|
|
|
};
|
2015-03-31 16:49:38 +02:00
|
|
|
}
|