flexc++: 2.02.00 -> 2.03.00

Good-bye Sourceforge, hello (fetchFrom)GitHub. Please stay nice.
This commit is contained in:
Tobias Geerinckx-Rice 2015-09-01 03:27:48 +02:00
parent beda13e18a
commit f4193da388

View File

@ -1,29 +1,32 @@
{ stdenv, fetchurl, bobcat, icmake, yodl }: { stdenv, fetchFromGitHub, bobcat, icmake, yodl }:
let version = "2.02.00"; in let version = "2.03.00"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "flexc++-${version}"; name = "flexc++-${version}";
src = fetchurl { src = fetchFromGitHub {
sha256 = "0mz5d0axr4c8rrmn4iw7b5llmf6f3g9cnjzzz3kw02mfzwll79rz"; sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717";
url = "mirror://sourceforge/flexcpp/${version}/flexc++_${version}.orig.tar.gz"; rev = version;
repo = "flexcpp";
owner = "fbb-git";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version; inherit version;
description = ""; description = "C++ tool for generating lexical scanners";
longDescription = '' longDescription = ''
Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
and requires simpler specification files than offered by flex's C++ and requires simpler specification files than offered by flex's C++
option. option.
''; '';
homepage = http://flexcpp.sourceforge.net/; homepage = https://fbb-git.github.io/flexcpp/;
downloadPage = http://sourceforge.net/projects/flexcpp/files/;
license = licenses.gpl3; license = licenses.gpl3;
platforms = with platforms; linux; platforms = platforms.linux;
maintainers = with maintainers; [ nckx ]; maintainers = with maintainers; [ nckx ];
}; };
sourceRoot = "flexcpp-${version}-src/flexc++";
buildInputs = [ bobcat ]; buildInputs = [ bobcat ];
nativeBuildInputs = [ icmake yodl ]; nativeBuildInputs = [ icmake yodl ];