12 src = fetchFromGitHub {
16 hash = "sha256-iMvUvzr/jaTNdgHQFuoJNJnnkx2XHIUUlrPWyTlreEw=";
19 vendorHash = "sha256-ObroruWWNilHIclqNvbEaa7vwk+1zMzDKbjlVs7Fito=";
24 "-X" "main._version_=v${version}"
25 "-X" "main._branch_=master"
29 simple = runCommand "ran-test" { } ''
30 echo hello world > index.html
32 # Allow ran to fully initialize
34 [ "$(${curl}/bin/curl 127.0.0.1:8080)" == "hello world" ]
36 ${ran}/bin/ran --version > $out
41 homepage = "https://github.com/m3ng9i/ran";
42 description = "Ran is a simple web server for serving static files";
44 license = licenses.mit;
45 maintainers = with maintainers; [ tomberek ];