nixpkgs-suyu/pkgs/development/tools/rucksack/default.nix

25 lines
669 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, liblaxjson, cmake, freeimage }:
2015-06-16 11:13:27 +02:00
stdenv.mkDerivation rec {
version = "3.1.0";
pname = "rucksack";
2015-06-16 11:13:27 +02:00
src = fetchFromGitHub {
owner = "andrewrk";
repo = "rucksack";
2019-09-09 01:38:31 +02:00
rev = version;
2015-06-16 11:13:27 +02:00
sha256 = "0bcm20hqxqnq1j0zghb9i7z9frri6bbf7rmrv5g8dd626sq07vyv";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ liblaxjson freeimage ];
2015-06-16 11:13:27 +02:00
meta = with lib; {
2015-06-16 11:13:27 +02:00
description = "Texture packer and resource bundler";
platforms = [ "i686-linux" "x86_64-linux" ]; # fails on Darwin and AArch64
homepage = "https://github.com/andrewrk/rucksack";
2015-06-16 11:13:27 +02:00
license = licenses.mit;
maintainers = [ maintainers.andrewrk ];
};
}