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

30 lines
737 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 {
pname = "drgeo";
2015-06-19 12:20:05 +00:00
version = "1.1.0";
hardeningDisable = [ "format" ];
2016-02-07 20:54:52 +00:00
src = fetchurl {
url = "mirror://sourceforge/ofset/${pname}-${version}.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";
homepage = "https://sourceforge.net/projects/ofset";
2018-09-08 12:42:12 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}