1 { lib, stdenv, fetchFromGitHub, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-F0M5ENT3bMn3dD16Oaq9mBFYOWzVliVWupAIrLc2nkQ=";
15 checkInputs = [ perl ];
17 preCheck = "cd tests";
20 install -Dm644 $src/include/*.h -t $out/include
24 description = "A hash table for C structures";
25 homepage = "http://troydhanson.github.io/uthash";
26 license = licenses.bsd2; # it's one-clause, actually, as it's source-only
27 platforms = platforms.all;