Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 32 lines 731 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoreconfHook 5, gfortran 6, guile 7, pkg-config 8}: 9 10stdenv.mkDerivation rec { 11 pname = "libctl"; 12 version = "4.5.1"; 13 14 src = fetchFromGitHub { 15 owner = "NanoComp"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "uOydBWYPXSBUi+4MM6FNx6B5l2to7Ny9Uc1MMTV9bGA="; 19 }; 20 21 nativeBuildInputs = [ autoreconfHook gfortran guile pkg-config ]; 22 23 configureFlags = [ "--enable-shared" ]; 24 25 meta = with lib; { 26 description = "Guile-based library for supporting flexible control files in scientific simulations"; 27 mainProgram = "gen-ctl-io"; 28 homepage = "https://github.com/NanoComp/libctl"; 29 license = licenses.gpl2Only; 30 maintainers = with maintainers; [ carpinchomug ]; 31 }; 32}