diff options
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/squeak/default.nix | 39 | ||||
-rw-r--r-- | pkgs/development/interpreters/picoc/default.nix | 43 | ||||
-rw-r--r-- | pkgs/development/libraries/accounts-qt/default.nix | 18 | ||||
-rw-r--r-- | pkgs/development/libraries/bobcat/default.nix | 21 | ||||
-rw-r--r-- | pkgs/development/libraries/ip2location-c/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/libraries/libcli/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/libkeyfinder/default.nix | 21 | ||||
-rw-r--r-- | pkgs/development/libraries/libnetfilter_conntrack/default.nix | 3 | ||||
-rw-r--r-- | pkgs/development/libraries/libxcomp/default.nix | 21 | ||||
-rw-r--r-- | pkgs/development/libraries/rote/default.nix | 3 | ||||
-rw-r--r-- | pkgs/development/tools/alloy/default.nix | 39 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/egypt/default.nix | 11 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/include-what-you-use/default.nix | 5 | ||||
-rw-r--r-- | pkgs/development/tools/java/cfr/default.nix | 29 | ||||
-rw-r--r-- | pkgs/development/tools/misc/bin_replace_string/default.nix | 15 | ||||
-rw-r--r-- | pkgs/development/tools/parsing/flexc++/default.nix | 31 |
16 files changed, 147 insertions, 161 deletions
diff --git a/pkgs/development/compilers/squeak/default.nix b/pkgs/development/compilers/squeak/default.nix index 19b73a0bde5..8aa980b72e6 100644 --- a/pkgs/development/compilers/squeak/default.nix +++ b/pkgs/development/compilers/squeak/default.nix @@ -1,33 +1,15 @@ { stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused , libpthreadstubs, pango, pkgconfig, libpulseaudio, which }: -let version = "4.10.2.2614"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "squeak-${version}"; + version = "4.10.2.2614"; src = fetchurl { sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix"; url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz"; }; - meta = with stdenv.lib; { - inherit version; - description = "Smalltalk programming language and environment"; - longDescription = '' - Squeak is a full-featured implementation of the Smalltalk programming - language and environment based on (and largely compatible with) the - original Smalltalk-80 system. Squeak has very powerful 2- and 3-D - graphics, sound, video, MIDI, animation and other multimedia - capabilities. It also includes a customisable framework for creating - dynamic HTTP servers and interactively extensible Web sites. - ''; - homepage = http://squeakvm.org/; - downloadPage = http://squeakvm.org/unix/index.html; - license = with licenses; [ asl20 mit ]; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ coreutils dbus freetype glib gnused libpthreadstubs pango libpulseaudio which ]; nativeBuildInputs = [ cmake pkgconfig ]; @@ -44,4 +26,21 @@ stdenv.mkDerivation { ''; enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "Smalltalk programming language and environment"; + longDescription = '' + Squeak is a full-featured implementation of the Smalltalk programming + language and environment based on (and largely compatible with) the + original Smalltalk-80 system. Squeak has very powerful 2- and 3-D + graphics, sound, video, MIDI, animation and other multimedia + capabilities. It also includes a customisable framework for creating + dynamic HTTP servers and interactively extensible Web sites. + ''; + homepage = http://squeakvm.org/; + downloadPage = http://squeakvm.org/unix/index.html; + license = with licenses; [ asl20 mit ]; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/interpreters/picoc/default.nix b/pkgs/development/interpreters/picoc/default.nix index 72e89def4f5..e78b7434719 100644 --- a/pkgs/development/interpreters/picoc/default.nix +++ b/pkgs/development/interpreters/picoc/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitHub, readline }: -let version = "2015-05-04"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "picoc-${version}"; + version = "2015-05-04"; src = fetchFromGitHub { sha256 = "01w3jwl0vn9fsmh7p20ad4nl9ljzgfn576yvncd9pk9frx3pd8y4"; @@ -11,26 +11,6 @@ stdenv.mkDerivation { owner = "zsaleeba"; }; - meta = with stdenv.lib; { - inherit version; - description = "Very small C interpreter for scripting"; - longDescription = '' - PicoC is a very small C interpreter for scripting. It was originally - written as a script language for a UAV's on-board flight system. It's - also very suitable for other robotic, embedded and non-embedded - applications. The core C source code is around 3500 lines of code. It's - not intended to be a complete implementation of ISO C but it has all the - essentials. When compiled it only takes a few k of code space and is also - very sparing of data space. This means it can work well in small embedded - devices. - ''; - homepage = https://github.com/zsaleeba/picoc; - downloadPage = https://code.google.com/p/picoc/downloads/list; - license = licenses.bsd3; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ readline ]; postPatch = '' @@ -50,4 +30,23 @@ stdenv.mkDerivation { mkdir -p $out/include install -m644 *.h $out/include ''; + + meta = with stdenv.lib; { + description = "Very small C interpreter for scripting"; + longDescription = '' + PicoC is a very small C interpreter for scripting. It was originally + written as a script language for a UAV's on-board flight system. It's + also very suitable for other robotic, embedded and non-embedded + applications. The core C source code is around 3500 lines of code. It's + not intended to be a complete implementation of ISO C but it has all the + essentials. When compiled it only takes a few k of code space and is also + very sparing of data space. This means it can work well in small embedded + devices. + ''; + homepage = https://github.com/zsaleeba/picoc; + downloadPage = https://code.google.com/p/picoc/downloads/list; + license = licenses.bsd3; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix index 315aab074e5..e2e5f079606 100644 --- a/pkgs/development/libraries/accounts-qt/default.nix +++ b/pkgs/development/libraries/accounts-qt/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }: -let version = "1.13"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "accounts-qt-${version}"; + version = "1.13"; src = fetchFromGitLab { sha256 = "1gpkgw05dwsf2wk5cy3skgss3kw6mqh7iv3fadrxqxfc1za1xmyl"; @@ -11,17 +11,17 @@ stdenv.mkDerivation { owner = "accounts-sso"; }; - meta = with stdenv.lib; { - description = "Qt library for accessing the online accounts database"; - homepage = "http://code.google.com/p/accounts-sso/"; - license = licenses.lgpl21; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ glib libaccounts-glib qtbase ]; nativeBuildInputs = [ doxygen pkgconfig ]; configurePhase = '' qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake ''; + + meta = with stdenv.lib; { + description = "Qt library for accessing the online accounts database"; + homepage = "http://code.google.com/p/accounts-sso/"; + license = licenses.lgpl21; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/libraries/bobcat/default.nix b/pkgs/development/libraries/bobcat/default.nix index 87eb1e324ce..b83fd0f7487 100644 --- a/pkgs/development/libraries/bobcat/default.nix +++ b/pkgs/development/libraries/bobcat/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchFromGitHub, icmake, libmilter, libX11, openssl, readline , utillinux, yodl }: -let version = "4.00.00"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "bobcat-${version}"; + version = "4.00.00"; src = fetchFromGitHub { sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs"; @@ -12,15 +12,6 @@ stdenv.mkDerivation { owner = "fbb-git"; }; - meta = with stdenv.lib; { - inherit version; - description = "Brokken's Own Base Classes And Templates"; - homepage = https://fbb-git.github.io/bobcat/; - license = licenses.gpl3; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ libmilter libX11 openssl readline utillinux ]; nativeBuildInputs = [ icmake yodl ]; @@ -39,4 +30,12 @@ stdenv.mkDerivation { installPhase = '' ./build install ''; + + meta = with stdenv.lib; { + description = "Brokken's Own Base Classes And Templates"; + homepage = https://fbb-git.github.io/bobcat/; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/libraries/ip2location-c/default.nix b/pkgs/development/libraries/ip2location-c/default.nix index 7bf4e746db4..109510df79b 100644 --- a/pkgs/development/libraries/ip2location-c/default.nix +++ b/pkgs/development/libraries/ip2location-c/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchurl, autoreconfHook }: -let version = "7.0.2"; in # meta.homepage might change after a major update -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "ip2location-c-${version}"; + version = "7.0.2"; # meta.homepage might change after a major update src = fetchurl { sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx"; @@ -18,7 +18,6 @@ stdenv.mkDerivation { doCheck = false; meta = with stdenv.lib; { - inherit version; description = "Library to look up locations of host names and IP addresses"; longDescription = '' A C library to find the country, region, city,coordinates, diff --git a/pkgs/development/libraries/libcli/default.nix b/pkgs/development/libraries/libcli/default.nix index 7798eb5f8fc..1c247f6faa8 100644 --- a/pkgs/development/libraries/libcli/default.nix +++ b/pkgs/development/libraries/libcli/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitHub }: -let version = "1.9.7"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "libcli-${version}"; + version = "1.9.7"; src = fetchFromGitHub { sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c"; diff --git a/pkgs/development/libraries/libkeyfinder/default.nix b/pkgs/development/libraries/libkeyfinder/default.nix index bde5db77fda..9ea4748af4b 100644 --- a/pkgs/development/libraries/libkeyfinder/default.nix +++ b/pkgs/development/libraries/libkeyfinder/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitHub, fftw, qtbase }: -let version = "2.1"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "libkeyfinder-${version}"; + version = "2.1"; src = fetchFromGitHub { sha256 = "07kc0cl6kirgmpdgkgmp6r3yvyf7b1w569z01g8rfl1cig80qdc7"; @@ -11,15 +11,6 @@ stdenv.mkDerivation { owner = "ibsh"; }; - meta = with stdenv.lib; { - inherit version; - description = "Musical key detection for digital audio (C++ library)"; - homepage = http://www.ibrahimshaath.co.uk/keyfinder/; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ fftw qtbase ]; postPatch = '' @@ -40,4 +31,12 @@ stdenv.mkDerivation { mkdir -p $out/lib cp -a lib*.so* $out/lib ''; + + meta = with stdenv.lib; { + description = "Musical key detection for digital audio (C++ library)"; + homepage = http://www.ibrahimshaath.co.uk/keyfinder/; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/libraries/libnetfilter_conntrack/default.nix b/pkgs/development/libraries/libnetfilter_conntrack/default.nix index 72aaa1593cc..75cca9a028e 100644 --- a/pkgs/development/libraries/libnetfilter_conntrack/default.nix +++ b/pkgs/development/libraries/libnetfilter_conntrack/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }: -let version = "1.0.5"; in stdenv.mkDerivation rec { name = "libnetfilter_conntrack-${version}"; + version = "1.0.5"; src = fetchurl { url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2"; @@ -14,7 +14,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; meta = with stdenv.lib; { - inherit version; description = "Userspace library providing an API to the in-kernel connection tracking state table"; longDescription = '' libnetfilter_conntrack is a userspace library providing a programming interface (API) to the diff --git a/pkgs/development/libraries/libxcomp/default.nix b/pkgs/development/libraries/libxcomp/default.nix index 3a65277abe2..b19706c2c37 100644 --- a/pkgs/development/libraries/libxcomp/default.nix +++ b/pkgs/development/libraries/libxcomp/default.nix @@ -1,23 +1,14 @@ { stdenv, fetchurl, autoreconfHook, libjpeg, libpng12, libX11, zlib }: -let version = "3.5.0.32"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "libxcomp-${version}"; + version = "3.5.0.32"; src = fetchurl { sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm"; url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; }; - meta = with stdenv.lib; { - inherit version; - description = "NX compression library"; - homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs"; - license = licenses.gpl2; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ libjpeg libpng12 libX11 zlib ]; nativeBuildInputs = [ autoreconfHook ]; @@ -26,4 +17,12 @@ stdenv.mkDerivation { ''; enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "NX compression library"; + homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/libraries/rote/default.nix b/pkgs/development/libraries/rote/default.nix index b87d4ed4ee4..524afd7cf4d 100644 --- a/pkgs/development/libraries/rote/default.nix +++ b/pkgs/development/libraries/rote/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchurl, ncurses }: -let version = "0.2.8"; in stdenv.mkDerivation rec { name = "rote-${version}"; + version = "0.2.8"; src = fetchurl { sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky"; @@ -14,7 +14,6 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = with stdenv.lib; { - inherit version; description = "Our Own Terminal Emulation Library"; longDescription = '' ROTE is a simple C library for VT102 terminal emulation. It allows the diff --git a/pkgs/development/tools/alloy/default.nix b/pkgs/development/tools/alloy/default.nix index cb559a128ab..fbf784db0cc 100644 --- a/pkgs/development/tools/alloy/default.nix +++ b/pkgs/development/tools/alloy/default.nix @@ -1,33 +1,14 @@ { stdenv, fetchurl, jre, makeDesktopItem }: -let version = "4.2_2015-02-22"; in stdenv.mkDerivation rec { name = "alloy-${version}"; + version = "4.2_2015-02-22"; src = fetchurl { sha256 = "0p93v8jwx9prijpikkgmfdzb9qn8ljmvga5d9wvrkxddccjx9k28"; url = "http://alloy.mit.edu/alloy/downloads/alloy${version}.jar"; }; - meta = with stdenv.lib; { - inherit version; - description = "Language & tool for relational models"; - longDescription = '' - Alloy is a language for describing structures and a tool for exploring - them. An Alloy model is a collection of constraints that describes a set - of structures, e.g. all the possible security configurations of a web - application, or all the possible topologies of a switching network. The - Alloy Analyzer is a solver that takes the constraints of a model and - finds structures that satisfy them. Structures are displayed graphically, - and their appearance can be customized for the domain at hand. - ''; - homepage = http://alloy.mit.edu/; - downloadPage = http://alloy.mit.edu/alloy/download.html; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - desktopItem = makeDesktopItem rec { name = "alloy"; exec = name; @@ -57,4 +38,22 @@ stdenv.mkDerivation rec { install -Dm644 ${./icon.png} $out/share/pixmaps/alloy.png cp -r ${desktopItem}/share/applications $out/share ''; + + meta = with stdenv.lib; { + description = "Language & tool for relational models"; + longDescription = '' + Alloy is a language for describing structures and a tool for exploring + them. An Alloy model is a collection of constraints that describes a set + of structures, e.g. all the possible security configurations of a web + application, or all the possible topologies of a switching network. The + Alloy Analyzer is a solver that takes the constraints of a model and + finds structures that satisfy them. Structures are displayed graphically, + and their appearance can be customized for the domain at hand. + ''; + homepage = http://alloy.mit.edu/; + downloadPage = http://alloy.mit.edu/alloy/download.html; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/tools/analysis/egypt/default.nix b/pkgs/development/tools/analysis/egypt/default.nix index 1233c4ce15a..fc63247468c 100644 --- a/pkgs/development/tools/analysis/egypt/default.nix +++ b/pkgs/development/tools/analysis/egypt/default.nix @@ -1,16 +1,19 @@ { stdenv, fetchurl, buildPerlPackage }: -let version = "1.10"; in buildPerlPackage rec { name = "egypt-${version}"; + version = "1.10"; src = fetchurl { sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m"; url = "http://www.gson.org/egypt/download/${name}.tar.gz"; }; + enableParallelBuilding = true; + + doCheck = true; + meta = with stdenv.lib; { - inherit version; description = "Tool for making call graphs of C programmes"; longDescription = '' Egypt is a simple tool for creating call graphs of C programs. It neither @@ -25,8 +28,4 @@ buildPerlPackage rec { platforms = platforms.linux; maintainers = with maintainers; [ nckx ]; }; - - enableParallelBuilding = true; - - doCheck = true; } diff --git a/pkgs/development/tools/analysis/include-what-you-use/default.nix b/pkgs/development/tools/analysis/include-what-you-use/default.nix index 75e4dba003b..374f0fee3f1 100644 --- a/pkgs/development/tools/analysis/include-what-you-use/default.nix +++ b/pkgs/development/tools/analysis/include-what-you-use/default.nix @@ -1,9 +1,9 @@ { stdenv, fetchurl, cmake, llvmPackages }: -# Also bump llvmPackages in all-packages.nix to the supported version! -let version = "0.5"; in stdenv.mkDerivation rec { name = "include-what-you-use-${version}"; + # Also bump llvmPackages in all-packages.nix to the supported version! + version = "0.5"; src = fetchurl { sha256 = "19pwhgwvfr86n8ks099p9r02v7zh8d3qs7g7snzkhpdgq1azww85"; @@ -18,7 +18,6 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = with stdenv.lib; { - inherit version; description = "Analyze #includes in C/C++ source files with clang"; longDescription = '' For every symbol (type, function variable, or macro) that you use in diff --git a/pkgs/development/tools/java/cfr/default.nix b/pkgs/development/tools/java/cfr/default.nix index 3d42de4640e..46170341437 100644 --- a/pkgs/development/tools/java/cfr/default.nix +++ b/pkgs/development/tools/java/cfr/default.nix @@ -1,28 +1,14 @@ { stdenv, fetchurl, jre }: -let version = "0_101"; in stdenv.mkDerivation rec { name = "cfr-${version}"; + version = "0_101"; src = fetchurl { sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch"; url = "http://www.benf.org/other/cfr/cfr_${version}.jar"; }; - meta = with stdenv.lib; { - inherit version; - description = "Another java decompiler"; - longDescription = '' - CFR will decompile modern Java features - Java 8 lambdas (pre and post - Java beta 103 changes), Java 7 String switches etc, but is written - entirely in Java 6. - ''; - homepage = http://www.benf.org/other/cfr/; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ nckx ]; - }; - buildInputs = [ jre ]; phases = [ "installPhase" ]; @@ -38,4 +24,17 @@ stdenv.mkDerivation rec { EOF install -Dm755 cfr $out/bin/cfr ''; + + meta = with stdenv.lib; { + description = "Another java decompiler"; + longDescription = '' + CFR will decompile modern Java features - Java 8 lambdas (pre and post + Java beta 103 changes), Java 7 String switches etc, but is written + entirely in Java 6. + ''; + homepage = http://www.benf.org/other/cfr/; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ nckx ]; + }; } diff --git a/pkgs/development/tools/misc/bin_replace_string/default.nix b/pkgs/development/tools/misc/bin_replace_string/default.nix index 82a07d60f9a..fda527ee905 100644 --- a/pkgs/development/tools/misc/bin_replace_string/default.nix +++ b/pkgs/development/tools/misc/bin_replace_string/default.nix @@ -1,16 +1,20 @@ { stdenv, fetchurl, libelf, txt2man }: -let version = "0.2"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "bin_replace_string-${version}"; + version = "0.2"; src = fetchurl { sha256 = "1gnpddxwpsfrg4l76x5yplsvbcdbviybciqpn22yq3g3qgnr5c2a"; url = "ftp://ohnopub.net/mirror/bin_replace_string-0.2.tar.bz2"; }; + buildInputs = [ libelf ]; + nativeBuildInputs = [ txt2man ]; + + enableParallelBuilding = true; + meta = with stdenv.lib; { - inherit version; description = "Edit precompiled binaries"; longDescription = '' bin_replace_string edits C-style strings in precompiled binaries. This is @@ -25,9 +29,4 @@ stdenv.mkDerivation { platforms = platforms.linux; maintainers = with maintainers; [ nckx ]; }; - - buildInputs = [ libelf ]; - nativeBuildInputs = [ txt2man ]; - - enableParallelBuilding = true; } diff --git a/pkgs/development/tools/parsing/flexc++/default.nix b/pkgs/development/tools/parsing/flexc++/default.nix index 3cfd86f477e..e1426b3a1d4 100644 --- a/pkgs/development/tools/parsing/flexc++/default.nix +++ b/pkgs/development/tools/parsing/flexc++/default.nix @@ -1,8 +1,8 @@ { stdenv, fetchFromGitHub, bobcat, icmake, yodl }: -let version = "2.03.00"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "flexc++-${version}"; + version = "2.03.00"; src = fetchFromGitHub { sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717"; @@ -11,20 +11,6 @@ stdenv.mkDerivation { owner = "fbb-git"; }; - meta = with stdenv.lib; { - inherit version; - 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 = https://fbb-git.github.io/flexcpp/; - license = licenses.gpl3; - platforms = platforms.linux; - maintainers = with maintainers; [ nckx ]; - }; - sourceRoot = "flexcpp-${version}-src/flexc++"; buildInputs = [ bobcat ]; @@ -48,4 +34,17 @@ stdenv.mkDerivation { ./build install skel ./build install std ''; + + meta = with stdenv.lib; { + 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 = https://fbb-git.github.io/flexcpp/; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ nckx ]; + }; } |