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

30 lines
737 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
, intltool, libtool, pkg-config }:
2015-06-19 13:20:05 +01:00
stdenv.mkDerivation rec {
pname = "drgeo";
2015-06-19 13:20:05 +01: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 13:20:05 +01:00
patches = [ ./struct.patch ];
buildInputs = [libglade gtk2 guile libxml2
perl intltool libtool pkg-config];
2015-06-19 13:20:05 +01:00
prebuild = ''
cp drgeo.desktop.in drgeo.desktop
2015-06-19 13:20:05 +01:00
'';
meta = with lib; {
description = "Interactive geometry program";
homepage = "https://sourceforge.net/projects/ofset";
2018-09-08 13:42:12 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}