ocamlformat: remove unnecessary version check
This commit is contained in:
parent
e4fc3bea2f
commit
3119452427
|
@ -4,11 +4,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let src =
|
let src =
|
||||||
if version == "0.11.0"
|
fetchurl {
|
||||||
then fetchzip {
|
|
||||||
url = "https://github.com/ocaml-ppx/ocamlformat/archive/0.11.0.tar.gz";
|
|
||||||
sha256 = "0zvjn71jd4d3znnpgh0yphb2w8ggs457b6bl6cg1fmpdgxnds6yx";
|
|
||||||
} else fetchurl {
|
|
||||||
url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/${tarballName}";
|
url = "https://github.com/ocaml-ppx/ocamlformat/releases/download/${version}/${tarballName}";
|
||||||
sha256 = {
|
sha256 = {
|
||||||
"0.19.0" = "0ihgwl7d489g938m1jvgx8azdgq9f5np5mzqwwya797hx2m4dz32";
|
"0.19.0" = "0ihgwl7d489g938m1jvgx8azdgq9f5np5mzqwwya797hx2m4dz32";
|
||||||
|
|
Loading…
Reference in a new issue