cp_measure 0.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cp_measure-0.0.0/PKG-INFO +37 -0
- cp_measure-0.0.0/flake.lock +593 -0
- cp_measure-0.0.0/flake.nix +62 -0
- cp_measure-0.0.0/pyproject.toml +120 -0
- cp_measure-0.0.0/requirements-dev.lock +411 -0
- cp_measure-0.0.0/requirements.lock +78 -0
- cp_measure-0.0.0/setup.cfg +4 -0
- cp_measure-0.0.0/src/cp_measure/bulk.py +27 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measurecolocalization.py +563 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureimageareaoccupied.py +477 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureimageoverlap.py +490 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureimagequality.py +1879 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureimageskeleton.py +261 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureobjectneighbors.py +956 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureobjectoverlap.py +984 -0
- cp_measure-0.0.0/src/cp_measure/measurements/measureobjectskeleton.py +923 -0
- cp_measure-0.0.0/src/cp_measure/minimal/__init__.py +0 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measuregranularity.py +297 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measureimageintensity.py +485 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measureobjectintensity.py +385 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measureobjectintensitydistribution.py +342 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measureobjectsizeshape.py +612 -0
- cp_measure-0.0.0/src/cp_measure/minimal/measuretexture.py +235 -0
- cp_measure-0.0.0/src/cp_measure/minimal/utils.py +23 -0
- cp_measure-0.0.0/src/cp_measure.egg-info/PKG-INFO +37 -0
- cp_measure-0.0.0/src/cp_measure.egg-info/SOURCES.txt +27 -0
- cp_measure-0.0.0/src/cp_measure.egg-info/dependency_links.txt +1 -0
- cp_measure-0.0.0/src/cp_measure.egg-info/requires.txt +14 -0
- cp_measure-0.0.0/src/cp_measure.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cp_measure
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: cellprofiler-library implements CellProfiler's image processing and mathematical code, and is usable as a standalone library
|
|
5
|
+
Author: Anne Carpenter, Thouis (Ray) Jones, Lee Kamentsky, Vebjorn Ljosa, David Logan, Mark Bray, Madison Swain-Bowden, Allen Goodman, Claire McQuinn, Alice Lucas, Callum Tromans-Coia
|
|
6
|
+
Author-email: Beth Cimini <bcimini@broadinstitute.org>, David Stirling <dstirling@glencoesoftware.com>, Nodar Gogoberidze <ngogober@broadinstitute.org>
|
|
7
|
+
Maintainer-email: Beth Cimini <bcimini@broadinstitute.org>, Nodar Gogoberidze <ngogober@broadinstitute.org>
|
|
8
|
+
Project-URL: Homepage, https://cellprofiler.org/
|
|
9
|
+
Project-URL: Documentation, https://cellprofiler.org/manuals
|
|
10
|
+
Project-URL: Wiki, https://github.com/CellProfiler/CellProfiler/wiki
|
|
11
|
+
Project-URL: Repository, https://github.com/CellProfiler/CellProfiler
|
|
12
|
+
Project-URL: Issues, https://github.com/CellProfiler/CellProfiler/issues
|
|
13
|
+
Project-URL: Changelog, https://github.com/CellProfiler/CellProfiler/releases
|
|
14
|
+
Keywords: computer vision,image analysis,biology,cell,cellprofiler
|
|
15
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
Requires-Dist: numpy~=1.24.4
|
|
27
|
+
Requires-Dist: scikit-image~=0.20.0
|
|
28
|
+
Requires-Dist: scipy<1.11,>=1.9.1
|
|
29
|
+
Requires-Dist: mahotas~=1.4.13
|
|
30
|
+
Requires-Dist: centrosome>=1.2.3
|
|
31
|
+
Requires-Dist: matplotlib<4,>=3.1.3
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: build; extra == "dev"
|
|
34
|
+
Requires-Dist: pyinstaller; extra == "dev"
|
|
35
|
+
Requires-Dist: twine; extra == "dev"
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: pytest~=7.4.1; extra == "test"
|
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodes": {
|
|
3
|
+
"cachix": {
|
|
4
|
+
"inputs": {
|
|
5
|
+
"devenv": "devenv_2",
|
|
6
|
+
"flake-compat": [
|
|
7
|
+
"devenv",
|
|
8
|
+
"flake-compat"
|
|
9
|
+
],
|
|
10
|
+
"nixpkgs": [
|
|
11
|
+
"devenv",
|
|
12
|
+
"nixpkgs"
|
|
13
|
+
],
|
|
14
|
+
"pre-commit-hooks": [
|
|
15
|
+
"devenv",
|
|
16
|
+
"pre-commit-hooks"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"locked": {
|
|
20
|
+
"lastModified": 1712055811,
|
|
21
|
+
"narHash": "sha256-7FcfMm5A/f02yyzuavJe06zLa9hcMHsagE28ADcmQvk=",
|
|
22
|
+
"owner": "cachix",
|
|
23
|
+
"repo": "cachix",
|
|
24
|
+
"rev": "02e38da89851ec7fec3356a5c04bc8349cae0e30",
|
|
25
|
+
"type": "github"
|
|
26
|
+
},
|
|
27
|
+
"original": {
|
|
28
|
+
"owner": "cachix",
|
|
29
|
+
"repo": "cachix",
|
|
30
|
+
"type": "github"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"devenv": {
|
|
34
|
+
"inputs": {
|
|
35
|
+
"cachix": "cachix",
|
|
36
|
+
"flake-compat": "flake-compat_2",
|
|
37
|
+
"nix": "nix_2",
|
|
38
|
+
"nixpkgs": "nixpkgs_2",
|
|
39
|
+
"pre-commit-hooks": "pre-commit-hooks"
|
|
40
|
+
},
|
|
41
|
+
"locked": {
|
|
42
|
+
"lastModified": 1723487333,
|
|
43
|
+
"narHash": "sha256-jqi/hVQL6S9lj/HkWaPPZQW/BfP0D0Veb45cpSvfRVE=",
|
|
44
|
+
"owner": "cachix",
|
|
45
|
+
"repo": "devenv",
|
|
46
|
+
"rev": "b285601679c7686f623791ad93a8e0debc322633",
|
|
47
|
+
"type": "github"
|
|
48
|
+
},
|
|
49
|
+
"original": {
|
|
50
|
+
"owner": "cachix",
|
|
51
|
+
"repo": "devenv",
|
|
52
|
+
"type": "github"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"devenv_2": {
|
|
56
|
+
"inputs": {
|
|
57
|
+
"flake-compat": [
|
|
58
|
+
"devenv",
|
|
59
|
+
"cachix",
|
|
60
|
+
"flake-compat"
|
|
61
|
+
],
|
|
62
|
+
"nix": "nix",
|
|
63
|
+
"nixpkgs": "nixpkgs",
|
|
64
|
+
"poetry2nix": "poetry2nix",
|
|
65
|
+
"pre-commit-hooks": [
|
|
66
|
+
"devenv",
|
|
67
|
+
"cachix",
|
|
68
|
+
"pre-commit-hooks"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"locked": {
|
|
72
|
+
"lastModified": 1708704632,
|
|
73
|
+
"narHash": "sha256-w+dOIW60FKMaHI1q5714CSibk99JfYxm0CzTinYWr+Q=",
|
|
74
|
+
"owner": "cachix",
|
|
75
|
+
"repo": "devenv",
|
|
76
|
+
"rev": "2ee4450b0f4b95a1b90f2eb5ffea98b90e48c196",
|
|
77
|
+
"type": "github"
|
|
78
|
+
},
|
|
79
|
+
"original": {
|
|
80
|
+
"owner": "cachix",
|
|
81
|
+
"ref": "python-rewrite",
|
|
82
|
+
"repo": "devenv",
|
|
83
|
+
"type": "github"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"dream2nix": {
|
|
87
|
+
"inputs": {
|
|
88
|
+
"nixpkgs": "nixpkgs_3",
|
|
89
|
+
"purescript-overlay": "purescript-overlay",
|
|
90
|
+
"pyproject-nix": "pyproject-nix"
|
|
91
|
+
},
|
|
92
|
+
"locked": {
|
|
93
|
+
"lastModified": 1722526955,
|
|
94
|
+
"narHash": "sha256-fFS8aDnfK9Qfm2FLnQ8pqWk8FzvFEv5LvTuZTZLREnc=",
|
|
95
|
+
"owner": "nix-community",
|
|
96
|
+
"repo": "dream2nix",
|
|
97
|
+
"rev": "3fd4c14d3683baac8d1f94286ae14fe160888b51",
|
|
98
|
+
"type": "github"
|
|
99
|
+
},
|
|
100
|
+
"original": {
|
|
101
|
+
"owner": "nix-community",
|
|
102
|
+
"repo": "dream2nix",
|
|
103
|
+
"type": "github"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"flake-compat": {
|
|
107
|
+
"flake": false,
|
|
108
|
+
"locked": {
|
|
109
|
+
"lastModified": 1673956053,
|
|
110
|
+
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
|
|
111
|
+
"owner": "edolstra",
|
|
112
|
+
"repo": "flake-compat",
|
|
113
|
+
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
|
|
114
|
+
"type": "github"
|
|
115
|
+
},
|
|
116
|
+
"original": {
|
|
117
|
+
"owner": "edolstra",
|
|
118
|
+
"repo": "flake-compat",
|
|
119
|
+
"type": "github"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"flake-compat_2": {
|
|
123
|
+
"flake": false,
|
|
124
|
+
"locked": {
|
|
125
|
+
"lastModified": 1696426674,
|
|
126
|
+
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
127
|
+
"owner": "edolstra",
|
|
128
|
+
"repo": "flake-compat",
|
|
129
|
+
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
130
|
+
"type": "github"
|
|
131
|
+
},
|
|
132
|
+
"original": {
|
|
133
|
+
"owner": "edolstra",
|
|
134
|
+
"repo": "flake-compat",
|
|
135
|
+
"type": "github"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"flake-utils": {
|
|
139
|
+
"inputs": {
|
|
140
|
+
"systems": "systems"
|
|
141
|
+
},
|
|
142
|
+
"locked": {
|
|
143
|
+
"lastModified": 1689068808,
|
|
144
|
+
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
|
145
|
+
"owner": "numtide",
|
|
146
|
+
"repo": "flake-utils",
|
|
147
|
+
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
|
148
|
+
"type": "github"
|
|
149
|
+
},
|
|
150
|
+
"original": {
|
|
151
|
+
"owner": "numtide",
|
|
152
|
+
"repo": "flake-utils",
|
|
153
|
+
"type": "github"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"flake-utils_2": {
|
|
157
|
+
"inputs": {
|
|
158
|
+
"systems": "systems_2"
|
|
159
|
+
},
|
|
160
|
+
"locked": {
|
|
161
|
+
"lastModified": 1710146030,
|
|
162
|
+
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
|
163
|
+
"owner": "numtide",
|
|
164
|
+
"repo": "flake-utils",
|
|
165
|
+
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
|
166
|
+
"type": "github"
|
|
167
|
+
},
|
|
168
|
+
"original": {
|
|
169
|
+
"owner": "numtide",
|
|
170
|
+
"repo": "flake-utils",
|
|
171
|
+
"type": "github"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"flake-utils_3": {
|
|
175
|
+
"inputs": {
|
|
176
|
+
"systems": "systems_3"
|
|
177
|
+
},
|
|
178
|
+
"locked": {
|
|
179
|
+
"lastModified": 1710146030,
|
|
180
|
+
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
|
181
|
+
"owner": "numtide",
|
|
182
|
+
"repo": "flake-utils",
|
|
183
|
+
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
|
184
|
+
"type": "github"
|
|
185
|
+
},
|
|
186
|
+
"original": {
|
|
187
|
+
"owner": "numtide",
|
|
188
|
+
"repo": "flake-utils",
|
|
189
|
+
"type": "github"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"gitignore": {
|
|
193
|
+
"inputs": {
|
|
194
|
+
"nixpkgs": [
|
|
195
|
+
"devenv",
|
|
196
|
+
"pre-commit-hooks",
|
|
197
|
+
"nixpkgs"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"locked": {
|
|
201
|
+
"lastModified": 1709087332,
|
|
202
|
+
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
203
|
+
"owner": "hercules-ci",
|
|
204
|
+
"repo": "gitignore.nix",
|
|
205
|
+
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
206
|
+
"type": "github"
|
|
207
|
+
},
|
|
208
|
+
"original": {
|
|
209
|
+
"owner": "hercules-ci",
|
|
210
|
+
"repo": "gitignore.nix",
|
|
211
|
+
"type": "github"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"nix": {
|
|
215
|
+
"inputs": {
|
|
216
|
+
"flake-compat": "flake-compat",
|
|
217
|
+
"nixpkgs": [
|
|
218
|
+
"devenv",
|
|
219
|
+
"cachix",
|
|
220
|
+
"devenv",
|
|
221
|
+
"nixpkgs"
|
|
222
|
+
],
|
|
223
|
+
"nixpkgs-regression": "nixpkgs-regression"
|
|
224
|
+
},
|
|
225
|
+
"locked": {
|
|
226
|
+
"lastModified": 1712911606,
|
|
227
|
+
"narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=",
|
|
228
|
+
"owner": "domenkozar",
|
|
229
|
+
"repo": "nix",
|
|
230
|
+
"rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12",
|
|
231
|
+
"type": "github"
|
|
232
|
+
},
|
|
233
|
+
"original": {
|
|
234
|
+
"owner": "domenkozar",
|
|
235
|
+
"ref": "devenv-2.21",
|
|
236
|
+
"repo": "nix",
|
|
237
|
+
"type": "github"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"nix-github-actions": {
|
|
241
|
+
"inputs": {
|
|
242
|
+
"nixpkgs": [
|
|
243
|
+
"devenv",
|
|
244
|
+
"cachix",
|
|
245
|
+
"devenv",
|
|
246
|
+
"poetry2nix",
|
|
247
|
+
"nixpkgs"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"locked": {
|
|
251
|
+
"lastModified": 1688870561,
|
|
252
|
+
"narHash": "sha256-4UYkifnPEw1nAzqqPOTL2MvWtm3sNGw1UTYTalkTcGY=",
|
|
253
|
+
"owner": "nix-community",
|
|
254
|
+
"repo": "nix-github-actions",
|
|
255
|
+
"rev": "165b1650b753316aa7f1787f3005a8d2da0f5301",
|
|
256
|
+
"type": "github"
|
|
257
|
+
},
|
|
258
|
+
"original": {
|
|
259
|
+
"owner": "nix-community",
|
|
260
|
+
"repo": "nix-github-actions",
|
|
261
|
+
"type": "github"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"nix_2": {
|
|
265
|
+
"inputs": {
|
|
266
|
+
"flake-compat": [
|
|
267
|
+
"devenv",
|
|
268
|
+
"flake-compat"
|
|
269
|
+
],
|
|
270
|
+
"nixpkgs": [
|
|
271
|
+
"devenv",
|
|
272
|
+
"nixpkgs"
|
|
273
|
+
],
|
|
274
|
+
"nixpkgs-regression": "nixpkgs-regression_2"
|
|
275
|
+
},
|
|
276
|
+
"locked": {
|
|
277
|
+
"lastModified": 1712911606,
|
|
278
|
+
"narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=",
|
|
279
|
+
"owner": "domenkozar",
|
|
280
|
+
"repo": "nix",
|
|
281
|
+
"rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12",
|
|
282
|
+
"type": "github"
|
|
283
|
+
},
|
|
284
|
+
"original": {
|
|
285
|
+
"owner": "domenkozar",
|
|
286
|
+
"ref": "devenv-2.21",
|
|
287
|
+
"repo": "nix",
|
|
288
|
+
"type": "github"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"nixpkgs": {
|
|
292
|
+
"locked": {
|
|
293
|
+
"lastModified": 1692808169,
|
|
294
|
+
"narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=",
|
|
295
|
+
"owner": "NixOS",
|
|
296
|
+
"repo": "nixpkgs",
|
|
297
|
+
"rev": "9201b5ff357e781bf014d0330d18555695df7ba8",
|
|
298
|
+
"type": "github"
|
|
299
|
+
},
|
|
300
|
+
"original": {
|
|
301
|
+
"owner": "NixOS",
|
|
302
|
+
"ref": "nixpkgs-unstable",
|
|
303
|
+
"repo": "nixpkgs",
|
|
304
|
+
"type": "github"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"nixpkgs-regression": {
|
|
308
|
+
"locked": {
|
|
309
|
+
"lastModified": 1643052045,
|
|
310
|
+
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
|
|
311
|
+
"owner": "NixOS",
|
|
312
|
+
"repo": "nixpkgs",
|
|
313
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
314
|
+
"type": "github"
|
|
315
|
+
},
|
|
316
|
+
"original": {
|
|
317
|
+
"owner": "NixOS",
|
|
318
|
+
"repo": "nixpkgs",
|
|
319
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
320
|
+
"type": "github"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"nixpkgs-regression_2": {
|
|
324
|
+
"locked": {
|
|
325
|
+
"lastModified": 1643052045,
|
|
326
|
+
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
|
|
327
|
+
"owner": "NixOS",
|
|
328
|
+
"repo": "nixpkgs",
|
|
329
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
330
|
+
"type": "github"
|
|
331
|
+
},
|
|
332
|
+
"original": {
|
|
333
|
+
"owner": "NixOS",
|
|
334
|
+
"repo": "nixpkgs",
|
|
335
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
336
|
+
"type": "github"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"nixpkgs-stable": {
|
|
340
|
+
"locked": {
|
|
341
|
+
"lastModified": 1710695816,
|
|
342
|
+
"narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=",
|
|
343
|
+
"owner": "NixOS",
|
|
344
|
+
"repo": "nixpkgs",
|
|
345
|
+
"rev": "614b4613980a522ba49f0d194531beddbb7220d3",
|
|
346
|
+
"type": "github"
|
|
347
|
+
},
|
|
348
|
+
"original": {
|
|
349
|
+
"owner": "NixOS",
|
|
350
|
+
"ref": "nixos-23.11",
|
|
351
|
+
"repo": "nixpkgs",
|
|
352
|
+
"type": "github"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"nixpkgs_2": {
|
|
356
|
+
"locked": {
|
|
357
|
+
"lastModified": 1713361204,
|
|
358
|
+
"narHash": "sha256-TA6EDunWTkc5FvDCqU3W2T3SFn0gRZqh6D/hJnM02MM=",
|
|
359
|
+
"owner": "cachix",
|
|
360
|
+
"repo": "devenv-nixpkgs",
|
|
361
|
+
"rev": "285676e87ad9f0ca23d8714a6ab61e7e027020c6",
|
|
362
|
+
"type": "github"
|
|
363
|
+
},
|
|
364
|
+
"original": {
|
|
365
|
+
"owner": "cachix",
|
|
366
|
+
"ref": "rolling",
|
|
367
|
+
"repo": "devenv-nixpkgs",
|
|
368
|
+
"type": "github"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"nixpkgs_3": {
|
|
372
|
+
"locked": {
|
|
373
|
+
"lastModified": 1720181791,
|
|
374
|
+
"narHash": "sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8=",
|
|
375
|
+
"owner": "NixOS",
|
|
376
|
+
"repo": "nixpkgs",
|
|
377
|
+
"rev": "4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb",
|
|
378
|
+
"type": "github"
|
|
379
|
+
},
|
|
380
|
+
"original": {
|
|
381
|
+
"owner": "NixOS",
|
|
382
|
+
"ref": "nixpkgs-unstable",
|
|
383
|
+
"repo": "nixpkgs",
|
|
384
|
+
"type": "github"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"nixpkgs_master": {
|
|
388
|
+
"locked": {
|
|
389
|
+
"lastModified": 1723893954,
|
|
390
|
+
"narHash": "sha256-InDwKFEbiv9cYr+gXdQU2x6TUOkpHcKUIfOTYUu+THc=",
|
|
391
|
+
"owner": "NixOS",
|
|
392
|
+
"repo": "nixpkgs",
|
|
393
|
+
"rev": "9b503a951d1536dd5467fe8f1956f9312327cc89",
|
|
394
|
+
"type": "github"
|
|
395
|
+
},
|
|
396
|
+
"original": {
|
|
397
|
+
"owner": "NixOS",
|
|
398
|
+
"ref": "master",
|
|
399
|
+
"repo": "nixpkgs",
|
|
400
|
+
"type": "github"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"poetry2nix": {
|
|
404
|
+
"inputs": {
|
|
405
|
+
"flake-utils": "flake-utils",
|
|
406
|
+
"nix-github-actions": "nix-github-actions",
|
|
407
|
+
"nixpkgs": [
|
|
408
|
+
"devenv",
|
|
409
|
+
"cachix",
|
|
410
|
+
"devenv",
|
|
411
|
+
"nixpkgs"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"locked": {
|
|
415
|
+
"lastModified": 1692876271,
|
|
416
|
+
"narHash": "sha256-IXfZEkI0Mal5y1jr6IRWMqK8GW2/f28xJenZIPQqkY0=",
|
|
417
|
+
"owner": "nix-community",
|
|
418
|
+
"repo": "poetry2nix",
|
|
419
|
+
"rev": "d5006be9c2c2417dafb2e2e5034d83fabd207ee3",
|
|
420
|
+
"type": "github"
|
|
421
|
+
},
|
|
422
|
+
"original": {
|
|
423
|
+
"owner": "nix-community",
|
|
424
|
+
"repo": "poetry2nix",
|
|
425
|
+
"type": "github"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"pre-commit-hooks": {
|
|
429
|
+
"inputs": {
|
|
430
|
+
"flake-compat": [
|
|
431
|
+
"devenv",
|
|
432
|
+
"flake-compat"
|
|
433
|
+
],
|
|
434
|
+
"flake-utils": "flake-utils_2",
|
|
435
|
+
"gitignore": "gitignore",
|
|
436
|
+
"nixpkgs": [
|
|
437
|
+
"devenv",
|
|
438
|
+
"nixpkgs"
|
|
439
|
+
],
|
|
440
|
+
"nixpkgs-stable": "nixpkgs-stable"
|
|
441
|
+
},
|
|
442
|
+
"locked": {
|
|
443
|
+
"lastModified": 1713775815,
|
|
444
|
+
"narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=",
|
|
445
|
+
"owner": "cachix",
|
|
446
|
+
"repo": "pre-commit-hooks.nix",
|
|
447
|
+
"rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4",
|
|
448
|
+
"type": "github"
|
|
449
|
+
},
|
|
450
|
+
"original": {
|
|
451
|
+
"owner": "cachix",
|
|
452
|
+
"repo": "pre-commit-hooks.nix",
|
|
453
|
+
"type": "github"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"purescript-overlay": {
|
|
457
|
+
"inputs": {
|
|
458
|
+
"nixpkgs": [
|
|
459
|
+
"dream2nix",
|
|
460
|
+
"nixpkgs"
|
|
461
|
+
],
|
|
462
|
+
"slimlock": "slimlock"
|
|
463
|
+
},
|
|
464
|
+
"locked": {
|
|
465
|
+
"lastModified": 1696022621,
|
|
466
|
+
"narHash": "sha256-eMjFmsj2G1E0Q5XiibUNgFjTiSz0GxIeSSzzVdoN730=",
|
|
467
|
+
"owner": "thomashoneyman",
|
|
468
|
+
"repo": "purescript-overlay",
|
|
469
|
+
"rev": "047c7933abd6da8aa239904422e22d190ce55ead",
|
|
470
|
+
"type": "github"
|
|
471
|
+
},
|
|
472
|
+
"original": {
|
|
473
|
+
"owner": "thomashoneyman",
|
|
474
|
+
"repo": "purescript-overlay",
|
|
475
|
+
"type": "github"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"pyproject-nix": {
|
|
479
|
+
"flake": false,
|
|
480
|
+
"locked": {
|
|
481
|
+
"lastModified": 1702448246,
|
|
482
|
+
"narHash": "sha256-hFg5s/hoJFv7tDpiGvEvXP0UfFvFEDgTdyHIjDVHu1I=",
|
|
483
|
+
"owner": "davhau",
|
|
484
|
+
"repo": "pyproject.nix",
|
|
485
|
+
"rev": "5a06a2697b228c04dd2f35659b4b659ca74f7aeb",
|
|
486
|
+
"type": "github"
|
|
487
|
+
},
|
|
488
|
+
"original": {
|
|
489
|
+
"owner": "davhau",
|
|
490
|
+
"ref": "dream2nix",
|
|
491
|
+
"repo": "pyproject.nix",
|
|
492
|
+
"type": "github"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"root": {
|
|
496
|
+
"inputs": {
|
|
497
|
+
"devenv": "devenv",
|
|
498
|
+
"dream2nix": "dream2nix",
|
|
499
|
+
"flake-utils": "flake-utils_3",
|
|
500
|
+
"nixpkgs": [
|
|
501
|
+
"dream2nix",
|
|
502
|
+
"nixpkgs"
|
|
503
|
+
],
|
|
504
|
+
"nixpkgs_master": "nixpkgs_master",
|
|
505
|
+
"systems": "systems_4"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"slimlock": {
|
|
509
|
+
"inputs": {
|
|
510
|
+
"nixpkgs": [
|
|
511
|
+
"dream2nix",
|
|
512
|
+
"purescript-overlay",
|
|
513
|
+
"nixpkgs"
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
"locked": {
|
|
517
|
+
"lastModified": 1688610262,
|
|
518
|
+
"narHash": "sha256-Wg0ViDotFWGWqKIQzyYCgayeH8s4U1OZcTiWTQYdAp4=",
|
|
519
|
+
"owner": "thomashoneyman",
|
|
520
|
+
"repo": "slimlock",
|
|
521
|
+
"rev": "b5c6cdcaf636ebbebd0a1f32520929394493f1a6",
|
|
522
|
+
"type": "github"
|
|
523
|
+
},
|
|
524
|
+
"original": {
|
|
525
|
+
"owner": "thomashoneyman",
|
|
526
|
+
"repo": "slimlock",
|
|
527
|
+
"type": "github"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"systems": {
|
|
531
|
+
"locked": {
|
|
532
|
+
"lastModified": 1681028828,
|
|
533
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
534
|
+
"owner": "nix-systems",
|
|
535
|
+
"repo": "default",
|
|
536
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
537
|
+
"type": "github"
|
|
538
|
+
},
|
|
539
|
+
"original": {
|
|
540
|
+
"owner": "nix-systems",
|
|
541
|
+
"repo": "default",
|
|
542
|
+
"type": "github"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"systems_2": {
|
|
546
|
+
"locked": {
|
|
547
|
+
"lastModified": 1681028828,
|
|
548
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
549
|
+
"owner": "nix-systems",
|
|
550
|
+
"repo": "default",
|
|
551
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
552
|
+
"type": "github"
|
|
553
|
+
},
|
|
554
|
+
"original": {
|
|
555
|
+
"owner": "nix-systems",
|
|
556
|
+
"repo": "default",
|
|
557
|
+
"type": "github"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"systems_3": {
|
|
561
|
+
"locked": {
|
|
562
|
+
"lastModified": 1681028828,
|
|
563
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
564
|
+
"owner": "nix-systems",
|
|
565
|
+
"repo": "default",
|
|
566
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
567
|
+
"type": "github"
|
|
568
|
+
},
|
|
569
|
+
"original": {
|
|
570
|
+
"owner": "nix-systems",
|
|
571
|
+
"repo": "default",
|
|
572
|
+
"type": "github"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"systems_4": {
|
|
576
|
+
"locked": {
|
|
577
|
+
"lastModified": 1681028828,
|
|
578
|
+
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
579
|
+
"owner": "nix-systems",
|
|
580
|
+
"repo": "default",
|
|
581
|
+
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
582
|
+
"type": "github"
|
|
583
|
+
},
|
|
584
|
+
"original": {
|
|
585
|
+
"owner": "nix-systems",
|
|
586
|
+
"repo": "default",
|
|
587
|
+
"type": "github"
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"root": "root",
|
|
592
|
+
"version": 7
|
|
593
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
inputs = {
|
|
3
|
+
dream2nix.url = "github:nix-community/dream2nix";
|
|
4
|
+
nixpkgs.follows = "dream2nix/nixpkgs";
|
|
5
|
+
nixpkgs_master.url = "github:NixOS/nixpkgs/master";
|
|
6
|
+
flake-utils.url = "github:numtide/flake-utils";
|
|
7
|
+
systems.url = "github:nix-systems/default";
|
|
8
|
+
devenv.url = "github:cachix/devenv";
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
outputs = { self, nixpkgs, devenv, systems, dream2nix, ... } @ inputs:
|
|
12
|
+
inputs.flake-utils.lib.eachDefaultSystem (system:
|
|
13
|
+
let
|
|
14
|
+
|
|
15
|
+
pkgs = import nixpkgs {
|
|
16
|
+
system = system;
|
|
17
|
+
config.allowUnfree = true;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
mpkgs = import inputs.nixpkgs_master {
|
|
21
|
+
system = system;
|
|
22
|
+
config.allowUnfree = true;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
in {
|
|
26
|
+
devShells =
|
|
27
|
+
let
|
|
28
|
+
python_with_pkgs = (pkgs.python39.withPackages(pp: []));
|
|
29
|
+
in
|
|
30
|
+
with pkgs;
|
|
31
|
+
{
|
|
32
|
+
default = pkgs.mkShell {
|
|
33
|
+
NIX_LD = runCommand "ld.so" {} ''
|
|
34
|
+
ln -s "$(cat '${pkgs.stdenv.cc}/nix-support/dynamic-linker')" $out
|
|
35
|
+
'';
|
|
36
|
+
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
|
|
37
|
+
pkgs.zlib
|
|
38
|
+
];
|
|
39
|
+
packages = [
|
|
40
|
+
mpkgs.rye
|
|
41
|
+
uv
|
|
42
|
+
];
|
|
43
|
+
venvDir = "./.venv";
|
|
44
|
+
postVenvCreation = ''
|
|
45
|
+
unset SOURCE_DATE_EPOCH
|
|
46
|
+
'';
|
|
47
|
+
postShellHook = ''
|
|
48
|
+
unset SOURCE_DATE_EPOCH
|
|
49
|
+
'';
|
|
50
|
+
shellHook = ''
|
|
51
|
+
export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:"${pkgs.stdenv.cc.cc.lib}/lib"
|
|
52
|
+
export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
|
|
53
|
+
runHook venvShellHook
|
|
54
|
+
export PYTHONPATH=${python_with_pkgs}/${python_with_pkgs.sitePackages}:$PYTHONPATH
|
|
55
|
+
rye sync
|
|
56
|
+
source .venv/bin/activate
|
|
57
|
+
'';
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|