diff options
author | Bruno Bzeznik <Bruno.Bzeznik@univ-grenoble-alpes.fr> | 2022-01-31 21:28:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 21:28:05 +0100 |
commit | 77682cf879f7a9759c4f6ea191f708bbf9b552e2 (patch) | |
tree | 4ce7479410e4bf9df4a27550a8cd811df40cd735 /pkgs/applications/science/physics | |
parent | d4e15187584c9e5fe44d6eb6fc96d121c7b61ef2 (diff) |
shtns: init at 3.5.1 (#151061)
Diffstat (limited to 'pkgs/applications/science/physics')
-rw-r--r-- | pkgs/applications/science/physics/shtns/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/science/physics/shtns/default.nix b/pkgs/applications/science/physics/shtns/default.nix new file mode 100644 index 0000000000000..a720213b3913b --- /dev/null +++ b/pkgs/applications/science/physics/shtns/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchgit, fftw }: + +stdenv.mkDerivation rec { + pname = "shtns"; + version = "3.5.1"; + + src = fetchgit { + url = "https://bitbucket.org/nschaeff/shtns"; + rev = "v${version}"; + sha256 = "1ajrplhv7a2dvb3cn3n638281w0bzdcydvvwbg64awbjg622mdpd"; + }; + + buildInputs = [ fftw ]; + + meta = with lib; { + description = "High performance library for Spherical Harmonic Transform"; + homepage = "https://nschaeff.bitbucket.io/shtns/"; + license = licenses.cecill21; + maintainers = [ maintainers.bzizou ]; + platforms = platforms.linux; + }; +} |