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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
737 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
, intltool, libtool, pkg-config }:
2015-06-19 12:20:05 +00:00
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 pkg-config];
2015-06-19 12:20:05 +00:00
prebuild = ''
cp drgeo.desktop.in drgeo.desktop
2015-06-19 12:20:05 +00:00
'';
meta = with 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;
};
}