35 lines
1,009 B
Nix
35 lines
1,009 B
Nix
{ rustPlatform, fetchgit, stdenv, cairo, geos, clipper, clang, pkg-config, cmake
|
|
, openssl, llvmPackages, ... }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "polygon-art-${version}";
|
|
|
|
version = "1.0.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.ingolf-wagner.de/palo/polygon-art.git";
|
|
rev = "bc571b10a8be3357b517d2c413c0c2111593e4bf";
|
|
sha256 = "0dn3111cy50znxr5hawmkz3lcywxhzjz77jqq88pf1dh03jy2f45";
|
|
};
|
|
|
|
cargoSha256 = "05rkn8iihj4j9k179xx7wn2a07hxks050raj6fbxmj6gdx6aj170";
|
|
verifyCargoDeps = true;
|
|
|
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
|
|
|
buildInputs = [ cairo geos clipper openssl ];
|
|
|
|
nativeBuildInputs =
|
|
[ cmake llvmPackages.clang llvmPackages.libclang pkg-config ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description =
|
|
"An image generator unsing entropy and a JSON as configuration.";
|
|
homepage = "https://git.ingolf-wagner.de/palo/image-generator2";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.mrVanDalo ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|
|
|