File tree Expand file tree Collapse file tree 3 files changed +17
-21
lines changed
development/python-modules Expand file tree Collapse file tree 3 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 1+ {
2+ python3Packages ,
3+ } :
4+
5+ python3Packages . toPythonApplication python3Packages . oddsprout
Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- poetry-core ,
5+ hatchling ,
6+ pytestCheckHook ,
67} :
78
89buildPythonPackage rec {
910 pname = "ixia" ;
10- version = "1.3.2 " ;
11+ version = "2.0.0 " ;
1112 pyproject = true ;
1213
1314 src = fetchFromGitHub {
1415 owner = "trag1c" ;
1516 repo = "ixia" ;
1617 tag = version ;
17- hash = "sha256-lsov5AIT5uRf9nmS8ZsFmInKUFAxUATTbpfhV1fabhA =" ;
18+ hash = "sha256-8STtLL63V+XnDqDNZOx7X9mkjUu176SSyQOL55LXFz0 =" ;
1819 } ;
1920
20- build-system = [ poetry-core ] ;
21+ build-system = [ hatchling ] ;
22+
23+ nativeCheckInputs = [ pytestCheckHook ] ;
2124 pythonImportsCheck = [ "ixia" ] ;
2225
2326 meta = {
Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- fetchpatch2 ,
6- poetry-core ,
5+ hatchling ,
76 pytestCheckHook ,
87 pythonOlder ,
98 dahlia ,
1211
1312buildPythonPackage rec {
1413 pname = "oddsprout" ;
15- version = "0.1.1 " ;
14+ version = "0.1.2 " ;
1615 pyproject = true ;
1716
1817 disabled = pythonOlder "3.9" ;
@@ -21,28 +20,16 @@ buildPythonPackage rec {
2120 owner = "trag1c" ;
2221 repo = "oddsprout" ;
2322 tag = "v${ version } " ;
24- hash = "sha256-BOUYq4yny3ScgzCzx2cpeK4e7nxxwTj8mJ42nr59mFA =" ;
23+ hash = "sha256-RfAU3/Je3aC8JjQ51DqRCSAIfW2tQmQPP6G0/bfa1ZE =" ;
2524 } ;
2625
27- build-system = [ poetry-core ] ;
26+ build-system = [ hatchling ] ;
2827
2928 dependencies = [
3029 dahlia
3130 ixia
3231 ] ;
3332
34- patches = [
35- # https://github.com/trag1c/oddsprout/pull/8
36- ( fetchpatch2 {
37- name = "allow-periods-in-path.patch" ;
38- url = "https://github.com/trag1c/oddsprout/commit/59713a797e7748d48f59f92397981c93a81f2c28.patch" ;
39- hash = "sha256-GAIQQi5s4D6KbTSgmP2hlBizLATxtJ/hzpWqPX4O0U4=" ;
40- } )
41- ] ;
42-
43- # has one test `test_main_recursion_error`
44- # that has a very low (~1%) but nonzero chance to fail,
45- # this is known upstream (https://github.com/trag1c/oddsprout/issues/5)
4633 nativeCheckInputs = [ pytestCheckHook ] ;
4734
4835 pythonImportsCheck = [ "oddsprout" ] ;
@@ -56,5 +43,6 @@ buildPythonPackage rec {
5643 itepastra
5744 sigmanificient
5845 ] ;
46+ mainProgram = "oddsprout" ;
5947 } ;
6048}
You can’t perform that action at this time.
0 commit comments