File tree Expand file tree Collapse file tree 3 files changed +43
-42
lines changed
applications/graphics/hydrus
development/python-modules Expand file tree Collapse file tree 3 files changed +43
-42
lines changed Original file line number Diff line number Diff line change 1515
1616python3Packages . buildPythonPackage rec {
1717 pname = "hydrus" ;
18- version = "591 " ;
18+ version = "595 " ;
1919 format = "other" ;
2020
2121 src = fetchFromGitHub {
2222 owner = "hydrusnetwork" ;
2323 repo = "hydrus" ;
2424 rev = "refs/tags/v${ version } " ;
25- hash = "sha256-JhCnSNmCOEJdM5aEPpYWLpKy/EQ9BoN1A/aUAaILWtQ =" ;
25+ hash = "sha256-bIUtFpAMCIeLAyGXi4Rgn8FmijN5NwbkC31JoVyjNdg =" ;
2626 } ;
2727
2828 nativeBuildInputs = [
Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 buildPythonPackage ,
5- fetchpatch ,
65 fetchPypi ,
6+ python ,
7+ pythonOlder ,
8+
9+ # build-system
710 setuptools ,
811 setuptools-scm ,
912 cython ,
13+ py-cpuinfo ,
14+
15+ # dependencies
1016 numpy ,
17+
18+ # tests
1119 msgpack ,
12- py-cpuinfo ,
1320 pytestCheckHook ,
14- python ,
15- pythonOlder ,
21+ importlib-metadata ,
1622} :
1723
1824buildPythonPackage rec {
1925 pname = "numcodecs" ;
20- version = "0.13.0 " ;
26+ version = "0.13.1 " ;
2127 pyproject = true ;
2228
2329 disabled = pythonOlder "3.8" ;
2430
2531 src = fetchPypi {
2632 inherit pname version ;
27- hash = "sha256-uk+scDbqWgeMev4dTf/rloUIDULxnJwWsS2thmcDqi4 =" ;
33+ hash = "sha256-o883iB3wiY86nA1Ed9+IEz/oUYW//le6MbzC+iB3Cbw =" ;
2834 } ;
2935
3036 build-system = [
@@ -41,37 +47,23 @@ buildPythonPackage rec {
4147 # zfpy = [ zfpy ];
4248 } ;
4349
44- preBuild =
45- if ( stdenv . hostPlatform . isx86 && ! stdenv . hostPlatform . avx2Support ) then
46- ''
47- export DISABLE_NUMCODECS_AVX2=
48- ''
49- else
50- null ;
50+ preBuild = lib . optionalString ( stdenv . hostPlatform . isx86 && ! stdenv . hostPlatform . avx2Support ) ''
51+ export DISABLE_NUMCODECS_AVX2=1
52+ '' ;
5153
5254 nativeCheckInputs = [
5355 pytestCheckHook
5456 msgpack
57+ importlib-metadata
5558 ] ;
5659
60+ # https://github.com/NixOS/nixpkgs/issues/255262
5761 pytestFlagsArray = [ "$out/${ python . sitePackages } /numcodecs" ] ;
5862
59- disabledTests = [
60- "test_backwards_compatibility"
61-
62- "test_encode_decode"
63- "test_legacy_codec_broken"
64- "test_bytes"
65-
66- # ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
67- # with numpy 1.24
68- "test_non_numpy_inputs"
69- ] ;
70-
71- meta = with lib ; {
63+ meta = {
7264 homepage = "https://github.com/zarr-developers/numcodecs" ;
73- license = licenses . mit ;
65+ license = lib . licenses . mit ;
7466 description = "Buffer compression and transformation codecs for use in data storage and communication applications" ;
75- maintainers = [ ] ;
67+ maintainers = with lib . maintainers ; [ doronbehar ] ;
7668 } ;
7769}
Original file line number Diff line number Diff line change 11{
22 lib ,
3- asciitree ,
43 buildPythonPackage ,
5- fasteners ,
64 fetchPypi ,
7- numcodecs ,
8- msgpack ,
9- numpy ,
10- pytestCheckHook ,
115 pythonOlder ,
6+
7+ # build-system
128 setuptools-scm ,
9+
10+ # dependencies
11+ asciitree ,
12+ numpy ,
13+ fasteners ,
14+ numcodecs ,
15+
16+ # tests
17+ pytestCheckHook ,
1318} :
1419
1520buildPythonPackage rec {
@@ -24,24 +29,28 @@ buildPythonPackage rec {
2429 hash = "sha256-JYDYy23YRiF3GhDTHE13fcqKJ3BqGomyn0LS034t9c4=" ;
2530 } ;
2631
27- nativeBuildInputs = [ setuptools-scm ] ;
32+ build-system = [
33+ setuptools-scm
34+ ] ;
2835
29- propagatedBuildInputs = [
36+ dependencies = [
3037 asciitree
3138 numpy
3239 fasteners
3340 numcodecs
3441 ] ++ numcodecs . optional-dependencies . msgpack ;
3542
36- nativeCheckInputs = [ pytestCheckHook ] ;
43+ nativeCheckInputs = [
44+ pytestCheckHook
45+ ] ;
3746
3847 pythonImportsCheck = [ "zarr" ] ;
3948
40- meta = with lib ; {
49+ meta = {
4150 description = "Implementation of chunked, compressed, N-dimensional arrays for Python" ;
4251 homepage = "https://github.com/zarr-developers/zarr" ;
4352 changelog = "https://github.com/zarr-developers/zarr-python/releases/tag/v${ version } " ;
44- license = licenses . mit ;
45- maintainers = [ ] ;
53+ license = lib . licenses . mit ;
54+ maintainers = with lib . maintainers ; [ doronbehar ] ;
4655 } ;
4756}
You can’t perform that action at this time.
0 commit comments