diff options
author | Enric Morales <me@enric.me> | 2024-04-26 16:30:16 +0200 |
---|---|---|
committer | Enric Morales <me@enric.me> | 2024-04-26 22:40:23 +0200 |
commit | 59e27c1915d988ff11c7e4b50bc4c40b0b99f86d (patch) | |
tree | 6ce39c48b8b21eabd7752be2ebdc4491c4dd879b | |
parent | 258bbbf949a63743c66776e0562ce50f4528b42e (diff) | |
download | nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar.gz nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar.bz2 nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar.lz nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar.xz nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.tar.zst nixlib-59e27c1915d988ff11c7e4b50bc4c40b0b99f86d.zip |
git-vanity-hash: fix build and use new dependency
Build has been broken in Hydra. Potential cause seems to be an old dependency, with a possible workaround sent upstream. Patch the workaround for now.
-rw-r--r-- | pkgs/applications/version-management/git-vanity-hash/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/version-management/git-vanity-hash/default.nix b/pkgs/applications/version-management/git-vanity-hash/default.nix index 915ef38307b2..55332c6c7287 100644 --- a/pkgs/applications/version-management/git-vanity-hash/default.nix +++ b/pkgs/applications/version-management/git-vanity-hash/default.nix @@ -1,17 +1,22 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ + lib, + fetchFromGitHub, + rustPlatform, +}: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage { pname = "git-vanity-hash"; version = "1.0.0"; src = fetchFromGitHub { owner = "prasmussen"; repo = "git-vanity-hash"; - rev = "v${version}"; - hash = "sha256-jD8cSFXf9UNBZ9d8JTnuwhs6nPHY/xGd5RyqF+mQOlo="; + # v1.0.0 + build fix + rev = "a80e7725ac6d0b7e6807cd7315cfdc7eaf0584f6"; + hash = "sha256-1z4jbtzUB3SH79dDXAITf7Vup1YZdTLHBieSrhrvSXc="; }; - cargoHash = "sha256-8oW6gRtdQdmSmdwKlcU2EhHsyhk9hFhKl7RtsYwC7Ps="; + cargoHash = "sha256-+SQ0HpURBjnnwH1Ue7IUReOtI4LxVPK9AGSAihs0qsc="; postInstall = '' mkdir -p $out/share/doc/git-vanity-hash |