2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
2021-01-19 06:50:56 +00:00
|
|
|
, intltool, libtool, pkg-config }:
|
2015-06-19 12:20:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "drgeo";
|
2015-06-19 12:20:05 +00:00
|
|
|
version = "1.1.0";
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 20:54:52 +00:00
|
|
|
|
2008-06-27 19:15:01 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz";
|
2008-06-27 19:15:01 +00:00
|
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
|
|
};
|
2015-06-19 12:20:05 +00:00
|
|
|
patches = [ ./struct.patch ];
|
2008-06-27 19:15:01 +00:00
|
|
|
|
2016-09-11 21:24:51 +00:00
|
|
|
buildInputs = [libglade gtk2 guile libxml2
|
2021-01-19 06:50:56 +00:00
|
|
|
perl intltool libtool pkg-config];
|
2008-06-27 19:15:01 +00:00
|
|
|
|
2015-06-19 12:20:05 +00:00
|
|
|
prebuild = ''
|
2008-06-27 19:15:01 +00:00
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
2015-06-19 12:20:05 +00:00
|
|
|
'';
|
2015-09-15 04:27:19 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2008-06-27 19:15:01 +00:00
|
|
|
description = "Interactive geometry program";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/ofset";
|
2018-09-08 12:42:12 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2008-06-27 19:15:01 +00:00
|
|
|
};
|
|
|
|
}
|