c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
30 lines
765 B
Nix
30 lines
765 B
Nix
{ lib, stdenv, fetchurl, libglade, gtk2, guile, libxml2, perl
|
|
, intltool, libtool, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "drgeo";
|
|
version = "1.1.0";
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz";
|
|
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
|
|
};
|
|
patches = [ ./struct.patch ];
|
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
buildInputs = [libglade gtk2 guile libxml2
|
|
perl libtool ];
|
|
|
|
prebuild = ''
|
|
cp drgeo.desktop.in drgeo.desktop
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Interactive geometry program";
|
|
homepage = "https://sourceforge.net/projects/ofset";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|