mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
02297beade
Lots of packages are missing versions in their name. This adds them where appropriate. These were found with this command: $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$' See issue #41007.
31 lines
775 B
Nix
31 lines
775 B
Nix
{ stdenv, fetchFromGitHub, pcre } :
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "imatix_gsl-${version}";
|
|
version = "4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "imatix";
|
|
repo = "gsl";
|
|
rev = "72192d0d9de17de08d9379602d6482b4e5d402d0";
|
|
sha256 = "1apy11avgqc27xlczyjh15y10qjdyqsqab1wrl2067qgpdiy58w7";
|
|
};
|
|
|
|
buildInputs = [ pcre ];
|
|
|
|
CCNAME = "cc";
|
|
|
|
postPatch = "sed -e 's,/usr/bin/install,install,g' -i src/Makefile";
|
|
preBuild = "cd src";
|
|
installFlags = "DESTDIR=$(out)";
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.gpl3Plus;
|
|
homepage = https://github.com/imatix/gsl/;
|
|
description = "A universal code generator";
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.moosingin3space ];
|
|
broken = stdenv.isLinux; # 2018-04-10
|
|
};
|
|
}
|