nixpkgs/pkgs/applications/science/misc/fityk/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

28 lines
713 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2
, xylib, readline, gnuplot, swig3 }:
let
name = "fityk";
version = "1.3.1";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchFromGitHub {
owner = "wojdyr";
repo = "fityk";
rev = "v${version}";
sha256 = "0kmrjjjwrh6xgw590awcd52b86kksmv6rfgih75zvpiavr1ygwsi";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ wxGTK30 boost lua zlib bzip2 xylib readline
gnuplot swig3 ];
meta = {
description = "Curve fitting and peak fitting software";
license = stdenv.lib.licenses.gpl2;
homepage = http://fityk.nieto.pl/;
platforms = stdenv.lib.platforms.linux;
};
}