2020-02-14 19:06:43 +01:00
|
|
|
{ rustPlatform, fetchgit, stdenv, cairo, ... }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "image-geneartor-${version}";
|
|
|
|
version = "2.0.0";
|
|
|
|
# src = ./.;
|
2020-02-16 04:16:07 +01:00
|
|
|
src = fetchgit {
|
2020-02-14 19:06:43 +01:00
|
|
|
url = "https://git.ingolf-wagner.de/palo/image-generator2";
|
2020-02-16 18:13:43 +01:00
|
|
|
rev = "78cdc84a90cd818561a70bf1868ed3875d1e2204";
|
|
|
|
sha256 = "1r0splgsfc2sf014s71r91272icdqgfkxsp62k2jav0spwhi7sqy";
|
2020-02-14 19:06:43 +01:00
|
|
|
};
|
2020-02-15 17:22:11 +01:00
|
|
|
|
2020-02-14 19:06:43 +01:00
|
|
|
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;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
}
|
2020-02-14 19:06:43 +01:00
|
|
|
|