2016-09-11 21:24:51 +00:00
|
|
|
{ stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
2015-06-19 12:20:05 +00:00
|
|
|
, intltool, libtool, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "drgeo-${version}";
|
|
|
|
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 {
|
2015-06-19 12:20:05 +00:00
|
|
|
url = "mirror://sourceforge/ofset/${name}.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
|
2008-06-27 19:15:01 +00:00
|
|
|
perl intltool libtool pkgconfig];
|
|
|
|
|
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
|
|
|
|
2008-06-27 19:15:01 +00:00
|
|
|
meta = {
|
|
|
|
description = "Interactive geometry program";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-06-27 19:15:01 +00:00
|
|
|
};
|
|
|
|
}
|