1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/science/geometry/drgeo/default.nix

28 lines
643 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
2015-06-19 13:20:05 +01: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 13:20:05 +01:00
url = "mirror://sourceforge/ofset/${name}.tar.gz";
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
};
2015-06-19 13:20:05 +01:00
patches = [ ./struct.patch ];
buildInputs = [libglade gtk2 guile libxml2
perl intltool libtool pkgconfig];
2015-06-19 13:20:05 +01:00
prebuild = ''
cp drgeo.desktop.in drgeo.desktop
2015-06-19 13:20:05 +01:00
'';
meta = {
description = "Interactive geometry program";
platforms = stdenv.lib.platforms.linux;
};
}