nixpkgs/pkgs/applications/science/geometry/drgeo/default.nix

30 lines
733 B
Nix
Raw Normal View History

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