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