Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "libgff"; 10 version = "2.0.0"; 11 12 src = fetchFromGitHub { 13 owner = "COMBINE-lab"; 14 repo = "libgff"; 15 rev = "v${finalAttrs.version}"; 16 hash = "sha256-ZCb3UyuB/+ykrYFQ9E5VytT65gAAULiOzIEu5IXISTc="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "Lightweight GTF/GFF parsers exposing a C++ interface"; 23 homepage = "https://github.com/COMBINE-lab/libgff"; 24 downloadPage = "https://github.com/COMBINE-lab/libgff/releases"; 25 changelog = "https://github.com/COMBINE-lab/libgff/releases/tag/" + "v${finalAttrs.version}"; 26 license = lib.licenses.boost; 27 platforms = lib.platforms.all; 28 maintainers = [ lib.maintainers.kupac ]; 29 }; 30})