forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
30 lines
737 B
Nix
30 lines
737 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 ];
|
|
|
|
buildInputs = [libglade gtk2 guile libxml2
|
|
perl intltool libtool pkg-config];
|
|
|
|
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;
|
|
};
|
|
}
|