~jack/misc

ref: fc18319887e274897264bb352ccd33f20c42db4b misc/metscrape/metscrape.nix -rw-r--r-- 486 bytes
fc183198Jack Kelly nix 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, curl, lib, 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 lib; {
    homepage = "https://git.sr.ht/~jack/misc";
    description = "Batch-download MetVUW forecasts";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.endgame ];
    platforms = platforms.all;
  };
}