2016-04-28 21:53:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pcre } :
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "imatix_gsl";
|
2016-04-30 19:30:29 +01:00
|
|
|
version = "4.1";
|
2016-04-28 21:53:00 +01:00
|
|
|
|
2016-04-30 19:30:29 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "imatix";
|
|
|
|
repo = "gsl";
|
|
|
|
rev = "72192d0d9de17de08d9379602d6482b4e5d402d0";
|
|
|
|
sha256 = "1apy11avgqc27xlczyjh15y10qjdyqsqab1wrl2067qgpdiy58w7";
|
|
|
|
};
|
2016-04-28 21:53:00 +01:00
|
|
|
|
2016-04-30 19:30:29 +01:00
|
|
|
buildInputs = [ pcre ];
|
2016-04-28 21:53:00 +01:00
|
|
|
|
2018-03-19 21:33:57 +00:00
|
|
|
CCNAME = "cc";
|
|
|
|
|
2016-04-30 19:30:29 +01:00
|
|
|
postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
|
|
|
|
preBuild = "cd src";
|
|
|
|
installFlags = "DESTDIR=$(out)";
|
2016-04-28 21:53:00 +01:00
|
|
|
|
2016-04-30 19:30:29 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
homepage = https://github.com/imatix/gsl/;
|
|
|
|
description = "A universal code generator";
|
|
|
|
platforms = platforms.unix;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = [ maintainers.moosingin3space ];
|
2018-04-10 22:55:41 +01:00
|
|
|
broken = stdenv.isLinux; # 2018-04-10
|
2016-04-30 19:30:29 +01:00
|
|
|
};
|
|
|
|
}
|