Compare commits
8 Commits
2016-08-01
...
2016-08-04
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bcc6944b2 | |||
| 013b83c9a0 | |||
|
|
a5842e7763 | ||
| 06ec0979dc | |||
| 221bcd2dee | |||
| aec2f9bfe9 | |||
| a84ca742de | |||
| 256ae50aea |
4
base.nix
4
base.nix
@@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
# recettes
|
||||||
./base/base.nix
|
./base/base.nix
|
||||||
./desktop/desktop.nix
|
./desktop/desktop.nix
|
||||||
|
|
||||||
|
# moulinette de configuration
|
||||||
|
./config-generator.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,14 @@
|
|||||||
./services.nix
|
./services.nix
|
||||||
|
|
||||||
# inclusion conditionnelle
|
# inclusion conditionnelle
|
||||||
./config-generator.nix
|
./activation-manuelle/auto-upgrade.nix
|
||||||
|
./activation-manuelle/laptop.nix
|
||||||
|
./activation-manuelle/locate.nix
|
||||||
|
./activation-manuelle/fail2ban.nix
|
||||||
|
./activation-manuelle/nix-serve-client.nix
|
||||||
|
./activation-manuelle/nix-serve-server.nix
|
||||||
|
./activation-manuelle/print.nix
|
||||||
|
./activation-manuelle/swap.nix
|
||||||
|
./activation-manuelle/users.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,19 +9,7 @@ let
|
|||||||
host = config.networking.hostName;
|
host = config.networking.hostName;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
./activation-manuelle/auto-upgrade.nix
|
|
||||||
./activation-manuelle/laptop.nix
|
|
||||||
./activation-manuelle/locate.nix
|
|
||||||
./activation-manuelle/fail2ban.nix
|
|
||||||
./activation-manuelle/nix-serve-client.nix
|
|
||||||
./activation-manuelle/nix-serve-server.nix
|
|
||||||
./activation-manuelle/print.nix
|
|
||||||
./activation-manuelle/swap.nix
|
|
||||||
./activation-manuelle/users.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
@@ -171,6 +159,10 @@ in
|
|||||||
isPrunetwork = true;
|
isPrunetwork = true;
|
||||||
isServer = true;
|
isServer = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
r6d.config-generator = {
|
||||||
|
docker = true;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isRadx {
|
(mkIf comp.isRadx {
|
||||||
r6d.profiles = {
|
r6d.profiles = {
|
||||||
@@ -35,9 +35,9 @@ mkIf profiles.isDesktop {
|
|||||||
graphviz # dot, neato : traçage de graphes (carré, rond)
|
graphviz # dot, neato : traçage de graphes (carré, rond)
|
||||||
jekyll # générateur statique de site web
|
jekyll # générateur statique de site web
|
||||||
pandoc
|
pandoc
|
||||||
#texLiveFull # distribution LaTeX
|
texLiveFull # distribution LaTeX
|
||||||
texLive # distribution LaTeX de base
|
#texLive # distribution LaTeX de base
|
||||||
texLiveBeamer # paquets et extensions pour Beamer
|
#texLiveBeamer # paquets et extensions pour Beamer
|
||||||
texLiveModerncv # paquets pour la classe Modern CV
|
#texLiveModerncv # paquets pour la classe Modern CV
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,10 @@ mkIf profiles.isDesktop {
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Gestion de données géographiques
|
# Gestion de données géographiques
|
||||||
|
expat
|
||||||
|
gpsbabel # pour convettir les données des GPS
|
||||||
josm # outil de contribution à OpenStreetMap
|
josm # outil de contribution à OpenStreetMap
|
||||||
|
qgis # client lourd de manipulation de données géographiques
|
||||||
viking # analyse de topo, gestion de données GPS
|
viking # analyse de topo, gestion de données GPS
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
40
logiciel-custom/osm2pgsql.nix
Normal file
40
logiciel-custom/osm2pgsql.nix
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{ stdenv, fetchurl
|
||||||
|
, boost
|
||||||
|
, bzip2
|
||||||
|
, cmake
|
||||||
|
, expat
|
||||||
|
, geos
|
||||||
|
, lua
|
||||||
|
, postgresql
|
||||||
|
, proj
|
||||||
|
, zlib
|
||||||
|
}
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
#version = "0.87.1";
|
||||||
|
version = "0.90.1";
|
||||||
|
name = "osm2pgsql-${version}-0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/openstreetmap/osm2pgsql/archive/${version}.tar.gz";
|
||||||
|
sha256 = "0i0zg8di8nbh96qnyyr156ikwcsq1w9b2291bazm5whb351flmqx";
|
||||||
|
};
|
||||||
|
|
||||||
|
#nativeBuildInputs = [ ];
|
||||||
|
buildInputs = [ ];
|
||||||
|
|
||||||
|
#preConfigure = ''
|
||||||
|
'';
|
||||||
|
#buildPhase = ''jam "-j$NIX_BUILD_CORES" '';
|
||||||
|
#installPhase = ''
|
||||||
|
#'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://wiki.openstreetmap.org/wiki/Osm2pgsql;
|
||||||
|
description = "osm2pgsql is a tool for loading OpenStreetMap data into a PostgreSQL / PostGIS database suitable for applications like rendering into a map, geocoding with Nominatim, or general analysis.";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
#maintainers = [ maintainers.phunehehe ];
|
||||||
|
maintainers = [ maintainers.jpierre03 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user