Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 37 lines 786 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoreconfHook 5}: 6 7stdenv.mkDerivation rec { 8 pname = "libcdada"; 9 version = "0.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "msune"; 13 repo = "libcdada"; 14 rev = "v${version}"; 15 hash = "sha256-vUasCukDRZYB67eu87ckEZG9i6rsNf0aKY2kZsVezRE="; 16 }; 17 18 nativeBuildInputs = [ 19 autoreconfHook 20 ]; 21 22 configureFlags = [ 23 "--without-tests" 24 "--without-examples" 25 ]; 26 27 meta = with lib; { 28 description = "Library for basic data structures in C"; 29 longDescription = '' 30 Basic data structures in C: list, set, map/hashtable, queue... (libstdc++ wrapper) 31 ''; 32 homepage = "https://github.com/msune/libcdada"; 33 license = licenses.bsd2; 34 maintainers = with maintainers; [ _0x4A6F ]; 35 platforms = platforms.unix; 36 }; 37}