cl:1.2.1 -> 1.2.3
This commit is contained in:
parent
3ea16e98b4
commit
ef741de5b1
@ -1,19 +1,19 @@
|
|||||||
{stdenv, fetchurl, SDL, mesa, rebar, erlang, opencl-headers, ocl-icd }:
|
{stdenv, fetchFromGitHub, SDL, mesa, rebar, erlang, opencl-headers, ocl-icd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.1";
|
version = "1.2.3";
|
||||||
name = "cl-${version}";
|
name = "cl-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/tonyrog/cl/archive/${name}.tar.gz";
|
owner = "tonyrog";
|
||||||
sha256 = "03jv280h9gqqqkm0mmkjr53srd2mzhvyy1biss77wpjrzq2z12c8";
|
repo = "cl";
|
||||||
|
rev = "cl-${version}";
|
||||||
|
sha256 = "1dk0k03z0ipxvrnn0kihph135hriw96jpnd31lbq44k6ckh6bm03";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ erlang rebar opencl-headers ocl-icd ];
|
buildInputs = [ erlang rebar opencl-headers ocl-icd ];
|
||||||
#propagatedBuildInputs = [ SDL mesa ];
|
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
sed 's/git/"${version}"/' -i src/cl.app.src
|
|
||||||
rebar compile
|
rebar compile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -25,10 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
cp -ruv c_src doc ebin include priv src $DIR
|
cp -ruv c_src doc ebin include priv src $DIR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/tonyrog/cl;
|
homepage = https://github.com/tonyrog/cl;
|
||||||
description = "OpenCL binding for Erlang";
|
description = "OpenCL binding for Erlang";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user