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 13:20:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "drgeo";
|
2015-06-19 13:20:05 +01: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 20:15:01 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/ofset/${pname}-${version}.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
|
2021-01-19 06:50:56 +00:00
|
|
|
perl intltool libtool pkg-config];
|
2008-06-27 20:15:01 +01:00
|
|
|
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2008-06-27 20:15:01 +01:00
|
|
|
description = "Interactive geometry program";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/projects/ofset";
|
2018-09-08 13:42:12 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2008-06-27 20:15:01 +01:00
|
|
|
};
|
|
|
|
}
|