aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/plplot
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2019-12-04 10:42:12 -0500
committerBen Darwin <bcdarwin@gmail.com>2019-12-06 14:41:39 -0500
commite85fe01325f5d64df7da7845218a3a5c15a72b50 (patch)
tree05fb65bec5d8a6907b7b8b999cd16594cc8909e2 /pkgs/development/libraries/plplot
parent5a3dcb531e3b860f17b799761f2881e6bfa20415 (diff)
plplot: init at 5.15.0
Diffstat (limited to 'pkgs/development/libraries/plplot')
-rw-r--r--pkgs/development/libraries/plplot/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/plplot/default.nix b/pkgs/development/libraries/plplot/default.nix
new file mode 100644
index 000000000000..e99ddc3dd085
--- /dev/null
+++ b/pkgs/development/libraries/plplot/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, cmake }:
+
+stdenv.mkDerivation rec {
+ pname = "plplot";
+ version = "5.15.0";
+
+ src = fetchurl {
+ url = "https://downloads.sourceforge.net/project/${pname}/${pname}/${version}%20Source/${pname}-${version}.tar.gz";
+ sha256 = "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" "-DBUILD_TEST=ON" ];
+
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ description = "Cross-platform scientific graphics plotting library";
+ homepage = "https://plplot.org";
+ maintainers = with maintainers; [ bcdarwin ];
+ platforms = platforms.unix;
+ license = licenses.lgpl2;
+ };
+}