diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-07-07 18:05:54 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-07-07 18:05:54 +0200 |
commit | abe756d691637199ef9968466c2035600e16da45 (patch) | |
tree | 6030aac0163832934795dec0dcb6192ef53ded40 /pkgs/development | |
parent | 613e7686080076e934a674d1f22a12010752fa50 (diff) |
wcpg: init at 0.9
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/science/math/wcpg/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/wcpg/default.nix b/pkgs/development/libraries/science/math/wcpg/default.nix new file mode 100644 index 0000000000000..8f14b940f3834 --- /dev/null +++ b/pkgs/development/libraries/science/math/wcpg/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, blas +, gmp +, lapack +, libf2c +, mpfi +, mpfr +}: + +stdenv.mkDerivation rec { + pname = "wcpg"; + version = "0.9"; + + src = fetchFromGitHub { + owner = "fixif"; + repo = pname; + rev = version; + sha256 = "sha256-uA/ENjf4urEO+lqebkp/k54199o2434FYgPSmYCG4UA="; + }; + + nativeBuildInputs = [ + autoreconfHook + ]; + + buildInputs = [ + blas + gmp + lapack + libf2c + mpfi + mpfr + ]; + + meta = with lib; { + description = "Worst-Case Peak-Gain library"; + homepage = "https://github.com/fixif/WCPG"; + license = licenses.cecill-b; + platforms = platforms.unix; + maintainers = with maintainers; [ wegank ]; + }; +} |