nixos-config/pkgs/image-generator/default.nix

29 lines
867 B
Nix
Raw Normal View History

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-23 12:53:43 +01:00
src = fetchgit {
2020-02-23 04:02:11 +01:00
url = "https://github.com/mrVanDalo/image-generator";
2020-02-24 14:52:30 +01:00
rev = "7f5fd75ffa0f4ebd531f7f01b51bbec26ff000f4";
sha256 = "1vflkrld7qiikykna2ygw6cv8vn07x458pkrsrxm8imhm579076r";
2020-02-14 19:06:43 +01:00
};
2020-02-15 17:22:11 +01:00
2020-05-19 20:44:20 +02:00
cargoSha256 = "07pwds279qc54g5fza805ah2m8jhrdzng7vb1bi24a9ra9ci8s29";
#cargoSha256 = "10s1h1xya2gl5wj9cj104z50d9awv8z2mbply22lpzwzqyxrrxd9";
2020-05-16 02:25:06 +02:00
#verifyCargoDeps = true;
2020-02-14 19:06:43 +01:00
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";
2020-05-16 02:25:06 +02:00
license = licenses.gpl3;
2020-02-14 19:06:43 +01:00
maintainers = [ maintainers.mrVanDalo ];
platforms = platforms.all;
2019-10-24 02:20:38 +02:00
};
}
2020-02-14 19:06:43 +01:00