···1+{ stdenv, lib, fetchFromGitHub,
2+ pkgconfig, autoreconfHook,
3+ flex, yacc, zlib, libxml2 }:
4+5+stdenv.mkDerivation rec {
6+ name = "igraph";
7+ version = "0.7.1";
8+9+ src = fetchFromGitHub {
10+ owner = "igraph";
11+ repo = name;
12+ rev = version;
13+ sha256 = "1wsy0r511gk069il6iqjs27q8cjvqz20gf0a7inybx1bw84845z8";
14+ };
15+16+ nativeBuildInputs = [ pkgconfig autoreconfHook ];
17+ buildInputs = [ flex yacc zlib libxml2 ];
18+19+ # This file is normally generated by igraph's bootstrap.sh, but we can do it
20+ # ourselves. ~ C.
21+ postPatch = ''
22+ echo "${version}" > VERSION
23+ '';
24+25+ meta = {
26+ description = "The network analysis package";
27+ homepage = http://igraph.org/;
28+ license = lib.licenses.gpl2;
29+ maintainers = [ lib.maintainers.MostAwesomeDude ];
30+ };
31+}
+2
pkgs/top-level/all-packages.nix
···2124121242 idsk = callPackage ../tools/filesystems/idsk { };
212430021244 illum = callPackage ../tools/system/illum { };
2124521246 # using the new configuration style proposal which is unstable
···2124121242 idsk = callPackage ../tools/filesystems/idsk { };
2124321244+ igraph = callPackage ../development/libraries/igraph { };
21245+21246 illum = callPackage ../tools/system/illum { };
2124721248 # using the new configuration style proposal which is unstable