about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/wolfstoneextract/default.nix
blob: b2d76e41d57c33e34b7acde197d4efa271c3fee8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, stdenv
, fetchFromBitbucket
, cmake
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "wolfstoneextract";
  version = "1.2";

  src = fetchFromBitbucket {
    owner = "ecwolf";
    repo = "wolfstoneextract";
    rev = finalAttrs.version;
    hash = "sha256-yrYLP2ewOtiry+EgH1IEaxz2Q55mqQ6mRGSxzVUnJ8Q=";
  };

  nativeBuildInputs = [
    cmake
  ];

  meta = with lib; {
    description = "Utility to extract Wolfstone data from Wolfenstein II";
    mainProgram = "wolfstoneextract";
    homepage = "https://bitbucket.org/ecwolf/wolfstoneextract/src/master/";
    platforms = [ "x86_64-linux" ];
    license = with licenses; [ gpl3Only bsd3 ];
    maintainers = with maintainers; [ keenanweaver ];
  };
})