-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
78 lines (70 loc) · 4.36 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
description = "Overlay and NixOS modules for S[&]T packages hosted on github and for third-party packages that are not part of nixpkgs";
outputs = { self, ... }: {
overlays = {
external = (final: prev: {
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(pyfinal: pyprev: {
# patched version of django-easyfilters that works with latest Django versions
django-easyfilters = pyfinal.callPackage ./pkgs/django-easyfilters.nix {};
# django-cms with several extensions and dependencies
django-cms = pyfinal.callPackage ./pkgs/external/django-cms.nix {};
django-filer = pyfinal.callPackage ./pkgs/external/django-filer.nix {};
djangocms-admin-style = pyfinal.callPackage ./pkgs/external/djangocms-admin-style.nix {};
djangocms-attributes-field = pyfinal.callPackage ./pkgs/external/djangocms-attributes-field.nix {};
djangocms-column = pyfinal.callPackage ./pkgs/external/djangocms-column.nix {};
djangocms-file = pyfinal.callPackage ./pkgs/external/djangocms-file.nix {};
djangocms-link = pyfinal.callPackage ./pkgs/external/djangocms-link.nix {};
djangocms-picture = pyfinal.callPackage ./pkgs/external/djangocms-picture.nix {};
djangocms-snippet = pyfinal.callPackage ./pkgs/external/djangocms-snippet.nix {};
djangocms-style = pyfinal.callPackage ./pkgs/external/djangocms-style.nix {};
djangocms-text-ckeditor = pyfinal.callPackage ./pkgs/external/djangocms-text-ckeditor.nix {};
djangocms-video = pyfinal.callPackage ./pkgs/external/djangocms-video.nix {};
# needed for muninn-django
djangorestframework-gis = pyfinal.callPackage ./pkgs/external/djangorestframework-gis.nix {};
# needed for muninn-ecmwfmars
ecmwf-api-client = pyfinal.callPackage ./pkgs/external/ecmwf-api-client.nix {};
# pystac packages
pystac-client = pyfinal.callPackage ./pkgs/external/pystac-client.nix {};
pystac = pyfinal.callPackage ./pkgs/external/pystac.nix {};
# needed for legato
schedule = pyfinal.callPackage ./pkgs/external/schedule.nix {};
# copernicusmarine and dependencies
copernicusmarine = pyfinal.callPackage ./pkgs/external/copernicusmarine.nix {};
motuclient = pyfinal.callPackage ./pkgs/external/motuclient.nix {};
pydap = pyfinal.callPackage ./pkgs/external/pydap.nix {};
})
];
});
default = (final: prev: {
coda = final.python3Packages.toPythonModule(final.callPackage ./pkgs/coda.nix { python = prev.python3; pythonPackages = prev.python3Packages; });
harp = final.python3Packages.toPythonModule(final.callPackage ./pkgs/harp.nix { python = prev.python3; pythonPackages = prev.python3Packages; });
codadef-biomass = final.callPackage ./pkgs/codadef-biomass.nix {};
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(pyfinal: pyprev: {
biocheck = pyfinal.callPackage ./pkgs/biocheck.nix {};
cscip-client = pyfinal.callPackage ./pkgs/cscip-client.nix {};
legato = pyfinal.callPackage ./pkgs/legato.nix {};
muninn = pyfinal.callPackage ./pkgs/muninn.nix {};
muninn-biomass = pyfinal.callPackage ./pkgs/muninn-biomass.nix {};
muninn-cams = pyfinal.callPackage ./pkgs/muninn-cams.nix {};
muninn-django = pyfinal.callPackage ./pkgs/muninn-django.nix {};
muninn-ecmwfmars = pyfinal.callPackage ./pkgs/muninn-ecmwfmars.nix {};
muninn-generic-products = pyfinal.callPackage ./pkgs/muninn-generic-products.nix {};
muninn-geoms = pyfinal.callPackage ./pkgs/muninn-geoms.nix {};
muninn-sentinel1 = pyfinal.callPackage ./pkgs/muninn-sentinel1.nix {};
muninn-sentinel2 = pyfinal.callPackage ./pkgs/muninn-sentinel2.nix {};
muninn-sentinel5p = pyfinal.callPackage ./pkgs/muninn-sentinel5p.nix {};
netcdf-compare = pyfinal.callPackage ./pkgs/netcdf-compare.nix {};
pvml = pyfinal.callPackage ./pkgs/pvml.nix {};
safecheck = pyfinal.callPackage ./pkgs/safecheck.nix {};
})
];
});
};
nixosModules = {
legato = import ./nixos/legato;
default = import ./nixos;
};
};
}