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