use new image-generator

This commit is contained in:
Ingolf Wagner 2020-02-16 11:16:07 +08:00
parent fe99cd3c86
commit 09c1444e5f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 6 deletions

View file

@ -4,13 +4,12 @@ rustPlatform.buildRustPackage rec {
name = "image-geneartor-${version}"; name = "image-geneartor-${version}";
version = "2.0.0"; version = "2.0.0";
# src = ./.; # src = ./.;
src = fetchgit{ src = fetchgit {
url = "https://git.ingolf-wagner.de/palo/image-generator2"; url = "https://git.ingolf-wagner.de/palo/image-generator2";
rev = "9acdc2b90707a72de67f01ed38b9faee6011ec6f"; rev = "a7540fac2fa0bbc6952f2fdcbce5bb9c375e2699";
sha256 = "1bz14flbk9amvmhlcp158541krl5d1ghdpcf6g7nfvkx0aqg5i4y"; sha256 = "0hnki2zqw24nx78n3vc7gnij6isfaywxlj7qlhcs25gj942ixf47";
}; };
cargoSha256 = "07pwds279qc54g5fza805ah2m8jhrdzng7vb1bi24a9ra9ci8s29"; cargoSha256 = "07pwds279qc54g5fza805ah2m8jhrdzng7vb1bi24a9ra9ci8s29";
verifyCargoDeps = true; verifyCargoDeps = true;

View file

@ -3,9 +3,10 @@ let
background-repo = pkgs.fetchgit { background-repo = pkgs.fetchgit {
url = "https://git.ingolf-wagner.de/palo/image-generator-lib"; url = "https://git.ingolf-wagner.de/palo/image-generator-lib";
rev = "066e157b4c438205c291fcd57450740aeaec27cc"; rev = "c66aac70d9892eb1cca8fb3ac8e305348e384ea6";
sha256 = "04as4sfd8da36zcw1yfj7kqp05gypzr79x1i7rjclaak46zp4zlg"; sha256 = "0ly772gfdynqc4dr12zkk2zxmd3hjpvmsydqfjfcmvz690dbxync";
}; };
nixCommands = { height, width }: nixCommands = { height, width }:
pkgs.writeText "NixCommands.hs" # haskell pkgs.writeText "NixCommands.hs" # haskell
'' ''