diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:36 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:47 +0000 |
commit | 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 (patch) | |
tree | b3faaf573407b32aa645237a4d16b82778a39a92 /nixpkgs/pkgs/development/libraries/igraph | |
parent | 4e31070265257dc67d120c27e0f75c2344fdfa9a (diff) | |
parent | abf060725d7614bd3b9f96764262dfbc2f9c2199 (diff) | |
download | nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.gz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.bz2 nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.lz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.xz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.zst nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.zip |
Add 'nixpkgs/' from commit 'abf060725d7614bd3b9f96764262dfbc2f9c2199'
git-subtree-dir: nixpkgs git-subtree-mainline: 4e31070265257dc67d120c27e0f75c2344fdfa9a git-subtree-split: abf060725d7614bd3b9f96764262dfbc2f9c2199
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/igraph')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/igraph/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/igraph/default.nix b/nixpkgs/pkgs/development/libraries/igraph/default.nix new file mode 100644 index 000000000000..aab64b941caa --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/igraph/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchFromGitHub, + pkgconfig, autoreconfHook, + flex, yacc, zlib, libxml2 }: + +stdenv.mkDerivation rec { + pname = "igraph"; + version = "0.7.1"; + + src = fetchFromGitHub { + owner = "igraph"; + repo = pname; + rev = version; + sha256 = "1wsy0r511gk069il6iqjs27q8cjvqz20gf0a7inybx1bw84845z8"; + }; + + nativeBuildInputs = [ pkgconfig autoreconfHook ]; + buildInputs = [ flex yacc zlib libxml2 ]; + + # This file is normally generated by igraph's bootstrap.sh, but we can do it + # ourselves. ~ C. + postPatch = '' + echo "${version}" > VERSION + ''; + + meta = { + description = "The network analysis package"; + homepage = http://igraph.org/; + license = lib.licenses.gpl2; + maintainers = [ lib.maintainers.MostAwesomeDude ]; + }; +} |