imatix_gsl: fix build
See https://hydra.nixos.org/build/35004296/log/raw Also fix some formatting issues.
This commit is contained in:
parent
0b6e902339
commit
aaae243b2b
@ -1,30 +1,27 @@
|
|||||||
{ stdenv, fetchFromGitHub, pcre } :
|
{ stdenv, fetchFromGitHub, pcre } :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "imatix_gsl";
|
name = "imatix_gsl";
|
||||||
version = "4.1";
|
version = "4.1";
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "imatix";
|
|
||||||
repo = "gsl";
|
|
||||||
rev = "72192d0d9de17de08d9379602d6482b4e5d402d0";
|
|
||||||
sha256 = "1apy11avgqc27xlczyjh15y10qjdyqsqab1wrl2067qgpdiy58w7";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pcre ];
|
src = fetchFromGitHub {
|
||||||
|
owner = "imatix";
|
||||||
|
repo = "gsl";
|
||||||
|
rev = "72192d0d9de17de08d9379602d6482b4e5d402d0";
|
||||||
|
sha256 = "1apy11avgqc27xlczyjh15y10qjdyqsqab1wrl2067qgpdiy58w7";
|
||||||
|
};
|
||||||
|
|
||||||
preBuild = ''
|
buildInputs = [ pcre ];
|
||||||
cd src
|
|
||||||
'';
|
|
||||||
|
|
||||||
installFlags = "DESTDIR=$(out)";
|
postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
|
||||||
|
preBuild = "cd src";
|
||||||
|
installFlags = "DESTDIR=$(out)";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
homepage = "https://github.com/imatix/gsl";
|
homepage = https://github.com/imatix/gsl/;
|
||||||
description = ''
|
description = "A universal code generator";
|
||||||
A universal code generator
|
platforms = platforms.unix;
|
||||||
'';
|
maintainer = [ maintainers.moosingin3space ];
|
||||||
platforms = platforms.unix;
|
};
|
||||||
maintainer = [ maintainers.moosingin3space ];
|
|
||||||
};
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user