Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 582 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "libsv"; 10 version = "1.2"; 11 12 src = fetchFromGitHub { 13 owner = "uael"; 14 repo = "sv"; 15 rev = "v${version}"; 16 sha256 = "sha256-sc7WTRY8XTm5+J+zlS7tGa2f+2d7apj+XHyBafZXXeE="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Public domain cross-platform semantic versioning in C99"; 23 homepage = "https://github.com/uael/sv"; 24 license = licenses.unlicense; 25 maintainers = [ lib.maintainers.sigmanificient ]; 26 platforms = platforms.unix; 27 }; 28}