2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
2021-02-05 17:12:51 +00:00
|
|
|
, intltool, libtool, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "drgeo";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
|
|
};
|
|
|
|
patches = [ ./struct.patch ];
|
|
|
|
|
|
|
|
buildInputs = [libglade gtk2 guile libxml2
|
2021-02-05 17:12:51 +00:00
|
|
|
perl intltool libtool pkg-config];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
prebuild = ''
|
|
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Interactive geometry program";
|
|
|
|
homepage = "https://sourceforge.net/projects/ofset";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|