blob: a845eb6dcc0e6204d74ef7e280be4b3b16858e3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ nixpkgs }:
with nixpkgs;
stdenv.mkDerivation rec {
name = "fathom-v${version}";
version = "1.2.1";
src = builtins.fetchurl {
url = "https://github.com/usefathom/fathom/releases/download/v${version}/fathom_${version}_linux_amd64.tar.gz";
sha256 = "0sfpxh2xrvz992k0ynib57zzpcr0ikga60552i14m13wppw836nh";
};
sourceRoot = ".";
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp fathom $out/bin
cp LICENSE $out
cp README.md $out
'';
}
|