nixpkgs/pkgs/applications/science/geometry/drgeo/default.nix
2015-11-24 14:45:15 +01:00

25 lines
561 B
Nix

{ stdenv, fetchurl, libglade, gtk, guile, libxml2, perl
, intltool, libtool, pkgconfig }:
stdenv.mkDerivation rec {
name = "drgeo-${version}";
version = "1.1.0";
src = fetchurl {
url = "mirror://sourceforge/ofset/${name}.tar.gz";
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
};
patches = [ ./struct.patch ];
buildInputs = [libglade gtk guile libxml2
perl intltool libtool pkgconfig];
prebuild = ''
cp drgeo.desktop.in drgeo.desktop
'';
meta = {
description = "Interactive geometry program";
};
}