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