about summary refs log tree commit diff
path: root/pkgs/applications/science/physics/shtns/default.nix
blob: a720213b3913b8563d4db253c06512afe4e9b8ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
  };
}