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
@ -3,6 +3,7 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "imatix_gsl";
|
name = "imatix_gsl";
|
||||||
version = "4.1";
|
version = "4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "imatix";
|
owner = "imatix";
|
||||||
repo = "gsl";
|
repo = "gsl";
|
||||||
@ -12,18 +13,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ pcre ];
|
buildInputs = [ pcre ];
|
||||||
|
|
||||||
preBuild = ''
|
postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
|
||||||
cd src
|
preBuild = "cd src";
|
||||||
'';
|
|
||||||
|
|
||||||
installFlags = "DESTDIR=$(out)";
|
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;
|
platforms = platforms.unix;
|
||||||
maintainer = [ maintainers.moosingin3space ];
|
maintainer = [ maintainers.moosingin3space ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user