2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
2015-06-19 13:20:05 +01: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 20:15:01 +01:00
|
|
|
src = fetchurl {
|
2015-06-19 13:20:05 +01:00
|
|
|
url = "mirror://sourceforge/ofset/${name}.tar.gz";
|
2008-06-27 20:15:01 +01:00
|
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
|
|
};
|
2015-06-19 13:20:05 +01:00
|
|
|
patches = [ ./struct.patch ];
|
2008-06-27 20:15:01 +01:00
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [libglade gtk2 guile libxml2
|
2008-06-27 20:15:01 +01:00
|
|
|
perl intltool libtool pkgconfig];
|
|
|
|
|
2015-06-19 13:20:05 +01:00
|
|
|
prebuild = ''
|
2008-06-27 20:15:01 +01:00
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
2015-06-19 13:20:05 +01:00
|
|
|
'';
|
2015-09-15 05:27:19 +01:00
|
|
|
|
2018-09-08 13:42:12 +01:00
|
|
|
meta = with stdenv.lib; {
|
2008-06-27 20:15:01 +01:00
|
|
|
description = "Interactive geometry program";
|
2018-09-08 13:42:12 +01:00
|
|
|
homepage = https://sourceforge.net/projects/ofset;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2008-06-27 20:15:01 +01:00
|
|
|
};
|
|
|
|
}
|