8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
29 lines
737 B
Nix
29 lines
737 B
Nix
{ stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
|
, intltool, libtool, pkgconfig }:
|
|
|
|
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
|
|
perl intltool libtool pkgconfig];
|
|
|
|
prebuild = ''
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Interactive geometry program";
|
|
homepage = "https://sourceforge.net/projects/ofset";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|