Skip to content

Commit a98f7fa

Browse files
aerogramme: unbroken (#368128)
2 parents 7cdeae9 + 40effac commit a98f7fa

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

pkgs/by-name/ae/aerogramme/package.nix

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,16 @@ rustPlatform.buildRustPackage rec {
1212

1313
src = fetchgit {
1414
url = "https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/";
15-
rev = "refs/tags/${version}";
15+
tag = version;
1616
hash = "sha256-ER+P/XGqNzTLwDLK5EBZq/Dl29ZZKl2FdxDb+oLEJ8Y=";
1717
};
1818

1919
cargoPatches = [
2020
./0001-update-time-rs.patch
2121
];
2222

23-
# must use our own Cargo.lock due to git dependencies
24-
cargoLock = {
25-
lockFile = ./Cargo.lock;
26-
outputHashes = {
27-
"imap-codec-2.0.0" = "sha256-o64Q74Q84xLRfU4K4JtcjyS0J8mfoApvUs9siscd0RA=";
28-
"imap-flow-0.1.0" = "sha256-IopxybuVt5OW6vFiw/4MxojzaNZrKu2xyfaX6F8IYlA=";
29-
"k2v-client-0.0.4" = "sha256-V71FCIsgK3VStFOzVntm8P0vXRobF5rQ74qar+cKyik=";
30-
"smtp-message-0.1.0" = "sha256-FoSakm3D1xg1vefLf/zkyvzsij1G0QstK3CRo+LbByE=";
31-
};
32-
};
23+
useFetchCargoVendor = true;
24+
cargoHash = "sha256-GPj8qhfKgfAadQD9DJafN4ec8L6oY62PS/w/ljkPHpw=";
3325

3426
# disable network tests as Nix sandbox breaks them
3527
doCheck = false;
@@ -50,6 +42,5 @@ rustPlatform.buildRustPackage rec {
5042
maintainers = with lib.maintainers; [ supinie ];
5143
mainProgram = "aerogramme";
5244
platforms = lib.platforms.linux;
53-
broken = true; # https://github.com/rust-lang/rust/issues/129811
5445
};
5546
}

0 commit comments

Comments
 (0)