nixpkgs/pkgs/development/tools/imatix_gsl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
765 B
Nix
Raw Normal View History

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