2021-10-08 15:17:17 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcdada";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.4.0";
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "msune";
|
|
|
|
repo = "libcdada";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-vUasCukDRZYB67eu87ckEZG9i6rsNf0aKY2kZsVezRE=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--without-tests"
|
|
|
|
"--without-examples"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for basic data structures in C";
|
|
|
|
longDescription = ''
|
|
|
|
Basic data structures in C: list, set, map/hashtable, queue... (libstdc++ wrapper)
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/msune/libcdada";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|