12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-BiRuPQEKVJYYgfUsglIuxrBoJBFiQ0ygQmAFrVvCz4Q=";
23 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
25 mesonBuildType = "release";
28 # this is required to enable testing
29 # https://github.com/randy408/libspng/blob/bc383951e9a6e04dbc0766f6737e873e0eedb40b/tests/README.md#testing
33 outputs = [ "out" "dev" ];
53 description = "Simple, modern libpng alternative";
54 homepage = "https://libspng.org/";
55 license = with licenses; [ bsd2 ];
56 maintainers = with maintainers; [ humancalico ];
57 platforms = platforms.all;