about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/StormLib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/StormLib/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/StormLib/default.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/nixpkgs/pkgs/development/libraries/StormLib/default.nix b/nixpkgs/pkgs/development/libraries/StormLib/default.nix
deleted file mode 100644
index bc247e956235..000000000000
--- a/nixpkgs/pkgs/development/libraries/StormLib/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, cmake, bzip2, libtomcrypt, zlib, darwin }:
-
-stdenv.mkDerivation rec {
-  pname = "StormLib";
-  version = "9.22";
-
-  src = fetchFromGitHub {
-    owner = "ladislav-zezula";
-    repo = "StormLib";
-    rev = "v${version}";
-    sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc";
-  };
-
-  postPatch = ''
-    substituteInPlace CMakeLists.txt \
-      --replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
-  '';
-
-  cmakeFlags = [
-    "-DBUILD_SHARED_LIBS=ON"
-    "-DWITH_LIBTOMCRYPT=ON"
-  ];
-
-  nativeBuildInputs = [ cmake ];
-  buildInputs = [ bzip2 libtomcrypt zlib ] ++
-    lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Carbon ];
-
-  meta = with lib; {
-    homepage = "https://github.com/ladislav-zezula/StormLib";
-    license = licenses.mit;
-    description = "An open-source project that can work with Blizzard MPQ archives";
-    platforms = platforms.all;
-    maintainers = with maintainers; [ aanderse karolchmist ];
-  };
-}