nixpkgs/pkgs/development/pure-modules/gen/default.nix
Alastair Pharo 8ac4682e85 purePackages.gen: Don't build on Hydra (#29763)
Until https://github.com/agraef/pure-lang/issues/8 is resolved, this
package can't be compiled.  This patch turns off Hydra builds of this
package as part of #28643 (zero Hydra failures)
2017-09-26 01:58:36 +00:00

27 lines
815 B
Nix

{ lib, stdenv, fetchurl,
pkgconfig, pure, haskellPackages }:
stdenv.mkDerivation rec {
baseName = "gen";
version = "0.20";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
sha256 = "cfadd99a378b296325937d2492347611cc1e1d9f24594f91f3c2293eca01a4a8";
};
hsEnv = haskellPackages.ghcWithPackages (hsPkgs : [hsPkgs.language-c]);
buildInputs = [ pkgconfig hsEnv pure ];
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
meta = {
description = "Pure interface generator";
homepage = http://puredocs.bitbucket.org/pure-gen.html;
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
maintainers = with stdenv.lib.maintainers; [ asppsa ];
};
}