1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/games/wolfstoneextract/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
713 B
Nix

{ 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 ];
};
})