nixpkgs/pkgs/applications/science/chemistry/gwyddion/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

2017-08-03 07:32:49 +01:00
{ stdenv, fetchurl, gtk2, pkgconfig }:
with stdenv.lib;
let version = "2.48"; in
2017-08-03 07:32:49 +01:00
stdenv.mkDerivation {
2018-05-28 13:59:57 +01:00
name = "gwyddion-${version}";
2017-08-03 07:32:49 +01:00
src = fetchurl {
url = "http://sourceforge.net/projects/gwyddion/files/gwyddion/${version}/gwyddion-${version}.tar.xz";
2017-08-03 07:32:49 +01:00
sha256 = "119iw58ac2wn4cas6js8m7r1n4gmmkga6b1y711xzcyjp9hshgwx";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 ];
2017-08-03 07:32:49 +01:00
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;
};
}