nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 expat,
6 zlib,
7 validatePkgConfig,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "readosm";
12 version = "1.1.0a";
13
14 src = fetchurl {
15 url = "https://www.gaia-gis.it/gaia-sins/readosm-${finalAttrs.version}.tar.gz";
16 hash = "sha256-23wFHSVs7H7NTDd1q5vIINpaS/cv/U6fQLkR15dw8UU=";
17 };
18
19 nativeBuildInputs = [ validatePkgConfig ];
20
21 buildInputs = [
22 expat
23 zlib
24 ];
25
26 enableParallelBuilding = true;
27
28 doCheck = true;
29
30 meta = {
31 description = "Open source library to extract valid data from within an Open Street Map input file";
32 homepage = "https://www.gaia-gis.it/fossil/readosm";
33 license = with lib.licenses; [
34 mpl11
35 gpl2Plus
36 lgpl21Plus
37 ];
38 platforms = lib.platforms.unix;
39 };
40})