Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "libmcfp"; 5 version = "1.2.3"; 6 7 src = fetchFromGitHub { 8 owner = "mhekkel"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-Mi5nj8vR1j3V7fIMBrSyhD57emmlkCb0F08+5s7Usj0="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Header only library that can collect configuration options from command line arguments"; 18 homepage = "https://github.com/mhekkel/libmcfp"; 19 license = licenses.bsd2; 20 maintainers = with maintainers; [ natsukium ]; 21 platforms = platforms.unix; 22 }; 23}