elementary-cmake-modules: remove

The repository redirects to https://github.com/elementary/junk, with a message
saying "Branches serve as archives for code that is either retired from use or
not yet ready." Also, no other file in Nixpkgs tree uses this.
This commit is contained in:
Anderson Torres
2023-09-04 10:51:51 +00:00
parent 2c23787938
commit 7acdac7610
3 changed files with 0 additions and 35 deletions
@@ -1,29 +0,0 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation {
pname = "elementary-cmake-modules";
version = "0.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "cmake-modules";
rev = "319ec5336e9f05f3f22b886cc2053ef3d4b6599e";
sha256 = "191hhvdxyqvh9axzndaqld7vrmv7xkn0czks908zhb2zpjhv9rby";
};
prePatch = ''
substituteInPlace CMakeLists.txt \
--replace ' ''${CMAKE_ROOT}/Modules' " $out/lib/cmake"
'';
propagatedBuildInputs = [ cmake pkg-config ];
setupHook = ./setup-hook.sh;
meta = with lib; {
platforms = platforms.linux ++ platforms.darwin;
homepage = "https://github.com/elementary/cmake-modules";
license = licenses.gpl3Plus;
maintainers = [ maintainers.samdroid-apps ];
};
}
@@ -1,4 +0,0 @@
_elementaryCMakeEnvHook() {
cmakeFlagsArray+=(-DCMAKE_MODULE_PATH=@out@/lib/cmake)
}
addEnvHooks "$targetOffset" _elementaryCMakeEnvHook
-2
View File
@@ -22056,8 +22056,6 @@ with pkgs;
gnote = callPackage ../applications/office/gnote { };
elementary-cmake-modules = callPackage ../development/libraries/elementary-cmake-modules { };
gtk2 = callPackage ../development/libraries/gtk/2.x.nix {
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
};