summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry/gwyddion/default.nix
blob: 12007c940b3dd74ed7108709a32e1f2ae709c461 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchurl, gtk2, pkgconfig }:

with stdenv.lib;

let version = "2.48"; in
stdenv.mkDerivation {
  pname = "gwyddion";
  inherit version;
  src = fetchurl {
    url = "mirror://sourceforge/gwyddion/files/gwyddion/${version}/gwyddion-${version}.tar.xz";
    sha256 = "119iw58ac2wn4cas6js8m7r1n4gmmkga6b1y711xzcyjp9hshgwx";
  };
  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 ];
  meta = {
    homepage = http://gwyddion.net/;

    description = "Scanning probe microscopy data visualization and analysis";

    longDescription = ''
      A modular program for SPM (scanning probe microscopy) data
      visualization and analysis. Primarily it is intended for the
      analysis of height fields obtained by scanning probe microscopy
      techniques (AFM, MFM, STM, SNOM/NSOM) and it supports a lot of
      SPM data formats. However, it can be used for general height
      field and (greyscale) image processing, for instance for the
      analysis of profilometry data or thickness maps from imaging
      spectrophotometry.
    '';
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.linux;
  };
}