~jack/misc

ref: 0d0fdcc12269abfdc94084f4bc5a4bfb46fd894e misc/metscrape/metscrape.nix -rw-r--r-- 486 bytes
0d0fdcc1Jack Kelly lambda-c: dinky little evaluator 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, curl, libxml2, pkgconfig }:

stdenv.mkDerivation {
  name = "metscrape";
  src = ./.;

  buildInputs = [ curl.dev libxml2.dev ];
  nativeBuildInputs = [ pkgconfig ];

  installPhase = "install -D -m 755 metscrape $out/bin/metscrape";

  meta = with stdenv.lib; {
    homepage = https://git.sr.ht/~jack/misc;
    description = "Batch-download MetVUW forecasts";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.endgame ];
    platforms = platforms.all;
  };
}