Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "libsv"; 5 version = "1.1"; 6 7 src = fetchFromGitHub { 8 owner = "uael"; 9 repo = "sv"; 10 rev = "v${version}"; 11 sha256 = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Public domain cross-platform semantic versioning in C99"; 18 homepage = "https://github.com/uael/sv"; 19 license = licenses.unlicense; 20 maintainers = []; 21 platforms = platforms.unix; 22 }; 23}