1{ buildDunePackage
2, lib
3, fetchurl
4}:
5
6buildDunePackage rec {
7 pname = "stdcompat";
8 version = "19";
9
10 src = fetchurl {
11 url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
12 sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU=";
13 };
14
15 # Otherwise ./configure script will run and create files conflicting with dune.
16 dontConfigure = true;
17
18 meta = {
19 homepage = "https://github.com/thierry-martinez/stdcompat";
20 license = lib.licenses.bsd2;
21 maintainers = [ lib.maintainers.vbgl ];
22 };
23}