mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
ocamlformat: remove unnecessary version check
This commit is contained in:
parent
e4fc3bea2f
commit
3119452427
1 changed files with 1 additions and 5 deletions
|
@ -4,11 +4,7 @@
|
|||
}:
|
||||
|
||||
let src =
|
||||
if version == "0.11.0"
|
||||
then fetchzip {
|
||||
url = "https://github.com/ocaml-ppx/ocamlformat/archive/0.11.0.tar.gz";
|
||||
sha256 = "0zvjn71jd4d3znnpgh0yphb2w8ggs457b6bl6cg1fmpdgxnds6yx";
|
||||
} else fetchurl {
|
||||
fetchurl {
|
||||
url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/${tarballName}";
|
||||
sha256 = {
|
||||
"0.19.0" = "0ihgwl7d489g938m1jvgx8azdgq9f5np5mzqwwya797hx2m4dz32";
|
||||
|
|
Loading…
Reference in a new issue