{ rustPlatform, fetchgit, stdenv, cairo, ... }: rustPlatform.buildRustPackage rec { name = "image-geneartor-${version}"; version = "2.0.0"; # src = ./.; src = fetchgit { url = "https://git.ingolf-wagner.de/palo/image-generator2"; rev = "a7540fac2fa0bbc6952f2fdcbce5bb9c375e2699"; sha256 = "0hnki2zqw24nx78n3vc7gnij6isfaywxlj7qlhcs25gj942ixf47"; }; cargoSha256 = "07pwds279qc54g5fza805ah2m8jhrdzng7vb1bi24a9ra9ci8s29"; verifyCargoDeps = true; buildInputs = [ cairo ]; 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.gplv3; maintainers = [ maintainers.mrVanDalo ]; platforms = platforms.all; }; }