mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
20 lines
581 B
Nix
20 lines
581 B
Nix
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs, gmpxx }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libalkimia-4.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://kde-apps.org/CONTENT/content-files/137323-${name}.tar.bz2";
|
|
sha256 = "1p7bzi6mz5ymsfsxikk8m1cvi35zirb4fps9axkqlm6mjbwrldv4";
|
|
};
|
|
|
|
patchPhase = "sed -e 's/KDE4_DATA_DIR/DATA_INSTALL_DIR/' -i CMakeLists.txt";
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
buildInputs = [ kdelibs gmpxx ];
|
|
|
|
meta = {
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
inherit (kdelibs.meta) platforms;
|
|
};
|
|
}
|