diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix b/nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix index c541f874adc0..d4f66357fadc 100644 --- a/nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix +++ b/nixpkgs/pkgs/tools/graphics/texture-synthesis/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub, lib, rustPlatform }: +{ lib, rustPlatform, fetchFromGitHub, stdenv }: rustPlatform.buildRustPackage rec { pname = "texture-synthesis"; @@ -11,7 +11,15 @@ rustPlatform.buildRustPackage rec { sha256 = "0n1wbxcnxb7x5xwakxdzq7kg1fn0c48i520j03p7wvm5x97vm5h4"; }; - cargoSha256 = "1xszis3ip1hymzbhdili2hvdwd862cycwvsxxyjqmz3g2rlg5b64"; + cargoLock = { + lockFile = ./Cargo.lock; + outputHashes = { + "img_hash-2.1.0" = "sha256-Ba26n//bZweYvb5p47U209dHrsDHKHLQ3YEHbKT+hjE="; + }; + }; + + # tests fail for unknown reasons on aarch64-darwin + doCheck = !(stdenv.isDarwin && stdenv.isAarch64); meta = with lib; { description = "Example-based texture synthesis written in Rust"; |