mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
28 lines
643 B
Nix
28 lines
643 B
Nix
{ stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
|
, intltool, libtool, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "drgeo-${version}";
|
|
version = "1.1.0";
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ofset/${name}.tar.gz";
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
};
|
|
patches = [ ./struct.patch ];
|
|
|
|
buildInputs = [libglade gtk2 guile libxml2
|
|
perl intltool libtool pkgconfig];
|
|
|
|
prebuild = ''
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
'';
|
|
|
|
meta = {
|
|
description = "Interactive geometry program";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|