1{ stdenv, lib, fetchurl, pkg-config
2}:
3
4stdenv.mkDerivation rec {
5 pname = "gnuclad";
6 version = "0.2.4";
7
8 src = fetchurl {
9 url = "https://launchpad.net/gnuclad/trunk/${lib.versions.majorMinor version}/+download/${pname}-${version}.tar.gz";
10 sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
11 };
12
13 NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
14
15 nativeBuildInputs = [ pkg-config ];
16
17 meta = with lib; {
18 homepage = "https://launchpad.net/gnuclad";
19 description = "gnuclad tries to help the environment by creating trees. Its primary use will be generating cladogram trees for the GNU/Linux distro timeline project";
20 license = licenses.gpl3Plus;
21 maintainers = with maintainers; [ mog ];
22 platforms = platforms.linux;
23 };
24}