7 stdenv.mkDerivation rec {
12 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/credis/credis-${version}.tar.gz";
13 sha256 = "1l3hlw9rrc11qggbg9a2303p3bhxxx2vqkmlk8avsrbqw15r1ayr";
16 # credis build system has no install actions, provide our own.
20 mkdir -p "$out/include"
22 cp -v credis-test "$out/bin/"
23 cp -v *.a *.so "$out/lib/"
24 cp -v *.h "$out/include/"
28 description = "C client library for Redis (key-value database)";
29 mainProgram = "credis-test";
30 homepage = "https://code.google.com/archive/p/credis/";
31 license = licenses.bsd3; # from homepage
32 platforms = platforms.all;
33 maintainers = [ maintainers.bjornfor ];