-
Notifications
You must be signed in to change notification settings - Fork 0
/
uv-overlay.nix
26 lines (24 loc) · 929 Bytes
/
uv-overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# uv version 0.5.8 uses Rust 1.81
final: prev: {
uv = prev.uv.overrideAttrs (_: rec {
version = "0.5.8";
src = prev.fetchFromGitHub {
owner = "astral-sh";
repo = "uv";
rev = "refs/tags/${version}";
hash = "sha256-abJKfjEk8Ub0e4dtGTqEzx8UmB0a5LRnUgKI+PwyWJs=";
};
cargoDeps = prev.rustPlatform.importCargoLock {
lockFile = prev.fetchurl {
url = "https://raw.githubusercontent.com/astral-sh/uv/${version}/Cargo.lock";
hash = "sha256-yeEbTSYU1xTB7HquqR7ltkVqjj6NVw5gT1e2K/iIFt0=";
};
outputHashes = {
"async_zip-0.0.17" = "sha256-VfQg2ZY5F2cFoYQZrtf2DHj0lWgivZtFaFJKZ4oyYdo=";
"pubgrub-0.2.1" = "sha256-zusQxYdoNnriUn8JCk5TAW/nQG7fwxksz0GBKEgEHKc=";
"tl-0.7.8" = "sha256-F06zVeSZA4adT6AzLzz1i9uxpI1b8P1h+05fFfjm3GQ=";
"version-ranges-0.1.1" = "sha256-zusQxYdoNnriUn8JCk5TAW/nQG7fwxksz0GBKEgEHKc=";
};
};
});
}