Commit Graph

2169 Commits

Author SHA1 Message Date
github-actions[bot]
1b54378fe7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3bcedce9f4de37570242faf16e1e143583407eab?narHash=sha256-WMU6ZRZrBgEUDIF0siu2aIyVAXcxfElSwzZtS/mSpN4%3D' (2024-06-09)
  → 'github:NixOS/nixpkgs/f7207adcc68d9cafa29e3cd252a18743ae512c6a?narHash=sha256-COO4Xk2EzlZ3x9KCiJildlAA6cYDSPlnY8ms7pKl2Iw%3D' (2024-06-11)
2024-06-11 18:36:44 +00:00
github-actions[bot]
c81c886207 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3bcedce9f4de37570242faf16e1e143583407eab?narHash=sha256-WMU6ZRZrBgEUDIF0siu2aIyVAXcxfElSwzZtS/mSpN4%3D' (2024-06-09)
  → 'github:NixOS/nixpkgs/f7207adcc68d9cafa29e3cd252a18743ae512c6a?narHash=sha256-COO4Xk2EzlZ3x9KCiJildlAA6cYDSPlnY8ms7pKl2Iw%3D' (2024-06-11)
2024-06-11 18:36:44 +00:00
github-actions[bot]
2ab68c8d27 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
  → 'github:NixOS/nixpkgs/3bcedce9f4de37570242faf16e1e143583407eab?narHash=sha256-WMU6ZRZrBgEUDIF0siu2aIyVAXcxfElSwzZtS/mSpN4%3D' (2024-06-09)
2024-06-10 18:34:56 +00:00
github-actions[bot]
fa9ffbf55d flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
  → 'github:NixOS/nixpkgs/3bcedce9f4de37570242faf16e1e143583407eab?narHash=sha256-WMU6ZRZrBgEUDIF0siu2aIyVAXcxfElSwzZtS/mSpN4%3D' (2024-06-09)
2024-06-10 18:34:56 +00:00
github-actions[bot]
1acb4d55e5 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/31f40991012489e858517ec20102f033e4653afb?narHash=sha256-HlvsMH8BNgdmQCwbBDmWp5/DfkEQYhXZHagJQCgbJU0%3D' (2024-06-06)
  → 'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
2024-06-09 18:33:36 +00:00
github-actions[bot]
39d0aca7a0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/31f40991012489e858517ec20102f033e4653afb?narHash=sha256-HlvsMH8BNgdmQCwbBDmWp5/DfkEQYhXZHagJQCgbJU0%3D' (2024-06-06)
  → 'github:NixOS/nixpkgs/cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9?narHash=sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY%3D' (2024-06-08)
2024-06-09 18:33:36 +00:00
github-actions[bot]
69dc37c5b0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/818dbe2f96df233d2041739d6079bb616d3e5597?narHash=sha256-KE%2BUmfSVk5PG8jdKdclPVcMrUB8yVZHbsjo7ZT1Bm3c%3D' (2024-06-06)
  → 'github:NixOS/nixpkgs/31f40991012489e858517ec20102f033e4653afb?narHash=sha256-HlvsMH8BNgdmQCwbBDmWp5/DfkEQYhXZHagJQCgbJU0%3D' (2024-06-06)
2024-06-08 18:33:11 +00:00
github-actions[bot]
f090241edb flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/818dbe2f96df233d2041739d6079bb616d3e5597?narHash=sha256-KE%2BUmfSVk5PG8jdKdclPVcMrUB8yVZHbsjo7ZT1Bm3c%3D' (2024-06-06)
  → 'github:NixOS/nixpkgs/31f40991012489e858517ec20102f033e4653afb?narHash=sha256-HlvsMH8BNgdmQCwbBDmWp5/DfkEQYhXZHagJQCgbJU0%3D' (2024-06-06)
2024-06-08 18:33:11 +00:00
github-actions[bot]
fe259847bc flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5?narHash=sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU%3D' (2024-06-03)
  → 'github:NixOS/nixpkgs/818dbe2f96df233d2041739d6079bb616d3e5597?narHash=sha256-KE%2BUmfSVk5PG8jdKdclPVcMrUB8yVZHbsjo7ZT1Bm3c%3D' (2024-06-06)
2024-06-06 18:34:49 +00:00
github-actions[bot]
f606c452e4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5?narHash=sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU%3D' (2024-06-03)
  → 'github:NixOS/nixpkgs/818dbe2f96df233d2041739d6079bb616d3e5597?narHash=sha256-KE%2BUmfSVk5PG8jdKdclPVcMrUB8yVZHbsjo7ZT1Bm3c%3D' (2024-06-06)
2024-06-06 18:34:49 +00:00
github-actions[bot]
df72a6f256 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5?narHash=sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU%3D' (2024-06-03)
2024-06-04 18:34:45 +00:00
github-actions[bot]
9266ecf6f2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5?narHash=sha256-eCWaE/q1VItpFAxxLVt171MdtDcjEnwi6QB/yuF73JU%3D' (2024-06-03)
2024-06-04 18:34:45 +00:00
github-actions[bot]
3c6e77a4fe flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f7a63cf975cc66559d5f488ffe6367c987a79826?narHash=sha256-3j5wysP1Roj%2BFPuLE9%2BVZk9a0jMqGbWanMUEszir6mQ%3D' (2024-05-29)
  → 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
2024-05-31 18:34:57 +00:00
github-actions[bot]
c511cb7085 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f7a63cf975cc66559d5f488ffe6367c987a79826?narHash=sha256-3j5wysP1Roj%2BFPuLE9%2BVZk9a0jMqGbWanMUEszir6mQ%3D' (2024-05-29)
  → 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
2024-05-31 18:34:57 +00:00
github-actions[bot]
da8ac0645b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4?narHash=sha256-KkT6YM/yNQqirtYj/frn6RRakliB8RDvGqVGGaNhdcU%3D' (2024-05-28)
  → 'github:NixOS/nixpkgs/f7a63cf975cc66559d5f488ffe6367c987a79826?narHash=sha256-3j5wysP1Roj%2BFPuLE9%2BVZk9a0jMqGbWanMUEszir6mQ%3D' (2024-05-29)
2024-05-30 18:36:26 +00:00
github-actions[bot]
925117f8d6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4?narHash=sha256-KkT6YM/yNQqirtYj/frn6RRakliB8RDvGqVGGaNhdcU%3D' (2024-05-28)
  → 'github:NixOS/nixpkgs/f7a63cf975cc66559d5f488ffe6367c987a79826?narHash=sha256-3j5wysP1Roj%2BFPuLE9%2BVZk9a0jMqGbWanMUEszir6mQ%3D' (2024-05-29)
2024-05-30 18:36:26 +00:00
github-actions[bot]
d1b56f7a62 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f?narHash=sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c%3D' (2024-05-26)
  → 'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4?narHash=sha256-KkT6YM/yNQqirtYj/frn6RRakliB8RDvGqVGGaNhdcU%3D' (2024-05-28)
2024-05-29 18:37:37 +00:00
github-actions[bot]
16c479df5c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f?narHash=sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c%3D' (2024-05-26)
  → 'github:NixOS/nixpkgs/4a3fc4cf736b7d2d288d7a8bf775ac8d4c0920b4?narHash=sha256-KkT6YM/yNQqirtYj/frn6RRakliB8RDvGqVGGaNhdcU%3D' (2024-05-28)
2024-05-29 18:37:37 +00:00
github-actions[bot]
e59d83c35e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/47e03a624662ce399e55c45a5f6da698fc72c797?narHash=sha256-9dUxZf8MOqJH3vjbhrz7LH4qTcnRsPSBU1Q50T7q/X8%3D' (2024-05-25)
  → 'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f?narHash=sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c%3D' (2024-05-26)
2024-05-26 18:32:41 +00:00
github-actions[bot]
1851f5717c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/47e03a624662ce399e55c45a5f6da698fc72c797?narHash=sha256-9dUxZf8MOqJH3vjbhrz7LH4qTcnRsPSBU1Q50T7q/X8%3D' (2024-05-25)
  → 'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f?narHash=sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c%3D' (2024-05-26)
2024-05-26 18:32:41 +00:00
github-actions[bot]
b6a176f659 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e381a1288138aceda0ac63db32c7be545b446921?narHash=sha256-PH3w5av8d%2BTdwCkiWN4UPBTxrD9MpxIQPDVWctlomVo%3D' (2024-05-21)
  → 'github:NixOS/nixpkgs/47e03a624662ce399e55c45a5f6da698fc72c797?narHash=sha256-9dUxZf8MOqJH3vjbhrz7LH4qTcnRsPSBU1Q50T7q/X8%3D' (2024-05-25)
2024-05-25 18:34:03 +00:00
github-actions[bot]
889748acd2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e381a1288138aceda0ac63db32c7be545b446921?narHash=sha256-PH3w5av8d%2BTdwCkiWN4UPBTxrD9MpxIQPDVWctlomVo%3D' (2024-05-21)
  → 'github:NixOS/nixpkgs/47e03a624662ce399e55c45a5f6da698fc72c797?narHash=sha256-9dUxZf8MOqJH3vjbhrz7LH4qTcnRsPSBU1Q50T7q/X8%3D' (2024-05-25)
2024-05-25 18:34:03 +00:00
Paul Haerle
e88ba85d07
Merge pull request #948 from moduon/python-pyproject-format
feat(buildPythonPackage): support new pyproject format
2024-05-23 13:37:12 +02:00
Paul Haerle
d872284158
Merge branch 'main' into python-pyproject-format 2024-05-23 11:48:48 +02:00
github-actions[bot]
d23d38bab9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/641daa314d5bc1bca4b345da8eb08a130b109c79?narHash=sha256-Lhhrd1ZBNXCbUupWGq6gRPIy1qMKEdcAXcjnwgVqe/U%3D' (2024-05-20)
  → 'github:NixOS/nixpkgs/e381a1288138aceda0ac63db32c7be545b446921?narHash=sha256-PH3w5av8d%2BTdwCkiWN4UPBTxrD9MpxIQPDVWctlomVo%3D' (2024-05-21)
2024-05-22 18:33:36 +00:00
github-actions[bot]
67f892d635 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/641daa314d5bc1bca4b345da8eb08a130b109c79?narHash=sha256-Lhhrd1ZBNXCbUupWGq6gRPIy1qMKEdcAXcjnwgVqe/U%3D' (2024-05-20)
  → 'github:NixOS/nixpkgs/e381a1288138aceda0ac63db32c7be545b446921?narHash=sha256-PH3w5av8d%2BTdwCkiWN4UPBTxrD9MpxIQPDVWctlomVo%3D' (2024-05-21)
2024-05-22 18:33:36 +00:00
github-actions[bot]
302c1c6d7e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d?narHash=sha256-xYRimrR0duWvokWQEvB87bSsICeCvvX9DxpUOzCfsDE%3D' (2024-05-20)
  → 'github:NixOS/nixpkgs/641daa314d5bc1bca4b345da8eb08a130b109c79?narHash=sha256-Lhhrd1ZBNXCbUupWGq6gRPIy1qMKEdcAXcjnwgVqe/U%3D' (2024-05-20)
2024-05-21 18:34:05 +00:00
github-actions[bot]
e93da377a0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d?narHash=sha256-xYRimrR0duWvokWQEvB87bSsICeCvvX9DxpUOzCfsDE%3D' (2024-05-20)
  → 'github:NixOS/nixpkgs/641daa314d5bc1bca4b345da8eb08a130b109c79?narHash=sha256-Lhhrd1ZBNXCbUupWGq6gRPIy1qMKEdcAXcjnwgVqe/U%3D' (2024-05-20)
2024-05-21 18:34:05 +00:00
dependabot[bot]
93727ed0c1 ---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 21:36:19 +00:00
github-actions[bot]
3e89c6cc0a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8535fb92661f37ff9f0da3007fbc942f7d134b41?narHash=sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY%3D' (2024-05-19)
  → 'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d?narHash=sha256-xYRimrR0duWvokWQEvB87bSsICeCvvX9DxpUOzCfsDE%3D' (2024-05-20)
2024-05-20 18:33:42 +00:00
github-actions[bot]
6b8ff3ef7f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8535fb92661f37ff9f0da3007fbc942f7d134b41?narHash=sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY%3D' (2024-05-19)
  → 'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d?narHash=sha256-xYRimrR0duWvokWQEvB87bSsICeCvvX9DxpUOzCfsDE%3D' (2024-05-20)
2024-05-20 18:33:42 +00:00
github-actions[bot]
f28d1cc689 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/63d3e5d82edf5a138e7d0872231cc23ed4e740fd?narHash=sha256-ObD9YSelkwCAylEXJHcNjrn3hLOfIVScB1tPz9zeDN8%3D' (2024-05-18)
  → 'github:NixOS/nixpkgs/8535fb92661f37ff9f0da3007fbc942f7d134b41?narHash=sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY%3D' (2024-05-19)
2024-05-19 18:32:06 +00:00
github-actions[bot]
c7a22cc8db flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/63d3e5d82edf5a138e7d0872231cc23ed4e740fd?narHash=sha256-ObD9YSelkwCAylEXJHcNjrn3hLOfIVScB1tPz9zeDN8%3D' (2024-05-18)
  → 'github:NixOS/nixpkgs/8535fb92661f37ff9f0da3007fbc942f7d134b41?narHash=sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY%3D' (2024-05-19)
2024-05-19 18:32:06 +00:00
github-actions[bot]
f8f6491b1f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bf446f08bff6814b569265bef8374cfdd3d8f0e0?narHash=sha256-cu4UEffKkBByyGR6CFs9XP6iSNsKTkq1r66DA5BkYnE%3D' (2024-05-16)
  → 'github:NixOS/nixpkgs/63d3e5d82edf5a138e7d0872231cc23ed4e740fd?narHash=sha256-ObD9YSelkwCAylEXJHcNjrn3hLOfIVScB1tPz9zeDN8%3D' (2024-05-18)
2024-05-18 18:32:34 +00:00
github-actions[bot]
771ff0ab96 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bf446f08bff6814b569265bef8374cfdd3d8f0e0?narHash=sha256-cu4UEffKkBByyGR6CFs9XP6iSNsKTkq1r66DA5BkYnE%3D' (2024-05-16)
  → 'github:NixOS/nixpkgs/63d3e5d82edf5a138e7d0872231cc23ed4e740fd?narHash=sha256-ObD9YSelkwCAylEXJHcNjrn3hLOfIVScB1tPz9zeDN8%3D' (2024-05-18)
2024-05-18 18:32:34 +00:00
github-actions[bot]
506c66274c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6?narHash=sha256-iJYnKMtLi5u6hZhJm94cRNSDG5Rz6ZzIkGbhPFtDRm0%3D' (2024-05-15)
  → 'github:NixOS/nixpkgs/bf446f08bff6814b569265bef8374cfdd3d8f0e0?narHash=sha256-cu4UEffKkBByyGR6CFs9XP6iSNsKTkq1r66DA5BkYnE%3D' (2024-05-16)
2024-05-17 18:35:01 +00:00
github-actions[bot]
aa8e41d1fa flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6?narHash=sha256-iJYnKMtLi5u6hZhJm94cRNSDG5Rz6ZzIkGbhPFtDRm0%3D' (2024-05-15)
  → 'github:NixOS/nixpkgs/bf446f08bff6814b569265bef8374cfdd3d8f0e0?narHash=sha256-cu4UEffKkBByyGR6CFs9XP6iSNsKTkq1r66DA5BkYnE%3D' (2024-05-16)
2024-05-17 18:35:01 +00:00
Paul Haerle
6a169a73bd
Python DevShells (for pip) (#951)
* fetchPipMetadata: set meta.mainProgram

* fetchPipMetadata: deduplicate test fixtures

* fetchPipMetadata: add is_direct to lock file

* devShell: proof of concept

* python-local-development: add editables example

* devshell: simplify editables interface

* buildPythonPackage: remove editable option again

* devshell: use findRoot for editables

* devshell: add support for .whl sources

* devshell: avoid polluting the shells environment

* devshell: make editable.nix flatter

because there's only 1 attr left now

* devshell: fix pyEnv by filtering editables

from the environment.

* devshell: skip existing editables

* devshell: remove patched pyEnv, rewrite sys.path

* devshell: add special case for root package

* python-local-development: improve editable example

* python-local-development: filter source

* devshell: reset site_dir on each load

* pip: don't ignoreCollisions in pyEnv

* pip: default to no sitecustomize.py...

and teach the devshell how to load it

* pip: rewrite editable in python

* editable: use shutil.copytree

* editable: refactor into functions

* editables: add suport for console_scripts

* improve pip editables interface

- change editables interface to use bool or path
- expose public.shellHook for composition
- use shellHook by default in public.devShell
- extend example to include a script

* improve edtiable support:

- remove dependency on root package build
- always set root package as editable by default
- compute dit-info dir by calling a packages build backend or extracting directly from the wheel
- only pass required sources to editables shell hook
- add build inputs of all editables to teh dev shell
- move editables state to .dream2nix/python to remove likelyhood of collision with other ecosystems state
- delete editables state if editables configuration changed

* refine python editable support:

- never copy dependency sources
- force user to specify a local path

---------

Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2024-05-17 01:00:09 +02:00
github-actions[bot]
b6b11585f9 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/abd6d48f8c77bea7dc51beb2adfa6ed3950d2585?narHash=sha256-7lR9tpVXviSccl07GXI0%2Bve/natd24HAkuy1sQp0OlI%3D' (2024-05-14)
  → 'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6?narHash=sha256-iJYnKMtLi5u6hZhJm94cRNSDG5Rz6ZzIkGbhPFtDRm0%3D' (2024-05-15)
2024-05-16 18:32:05 +00:00
github-actions[bot]
d59edbb637 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/abd6d48f8c77bea7dc51beb2adfa6ed3950d2585?narHash=sha256-7lR9tpVXviSccl07GXI0%2Bve/natd24HAkuy1sQp0OlI%3D' (2024-05-14)
  → 'github:NixOS/nixpkgs/b3fcfcfabd01b947a1e4f36622bbffa3985bdac6?narHash=sha256-iJYnKMtLi5u6hZhJm94cRNSDG5Rz6ZzIkGbhPFtDRm0%3D' (2024-05-15)
2024-05-16 18:32:05 +00:00
github-actions[bot]
995e831dac flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40?narHash=sha256-bBz4/T/zBzv9Xi5XUlFDeosmSNppLaCQTizMKSksAvk%3D' (2024-05-12)
  → 'github:NixOS/nixpkgs/abd6d48f8c77bea7dc51beb2adfa6ed3950d2585?narHash=sha256-7lR9tpVXviSccl07GXI0%2Bve/natd24HAkuy1sQp0OlI%3D' (2024-05-14)
2024-05-14 18:33:48 +00:00
github-actions[bot]
3e5b7164eb flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40?narHash=sha256-bBz4/T/zBzv9Xi5XUlFDeosmSNppLaCQTizMKSksAvk%3D' (2024-05-12)
  → 'github:NixOS/nixpkgs/abd6d48f8c77bea7dc51beb2adfa6ed3950d2585?narHash=sha256-7lR9tpVXviSccl07GXI0%2Bve/natd24HAkuy1sQp0OlI%3D' (2024-05-14)
2024-05-14 18:33:48 +00:00
github-actions[bot]
69ce9f24c0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc?narHash=sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo%2B2nruiTcTZp5jK7o%3D' (2024-05-02)
  → 'github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40?narHash=sha256-bBz4/T/zBzv9Xi5XUlFDeosmSNppLaCQTizMKSksAvk%3D' (2024-05-12)
2024-05-13 18:47:00 +00:00
github-actions[bot]
1e1235b3d0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc?narHash=sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo%2B2nruiTcTZp5jK7o%3D' (2024-05-02)
  → 'github:NixOS/nixpkgs/3281bec7174f679eabf584591e75979a258d8c40?narHash=sha256-bBz4/T/zBzv9Xi5XUlFDeosmSNppLaCQTizMKSksAvk%3D' (2024-05-12)
2024-05-13 18:47:00 +00:00
Jairo Llopis
4cd8cbdb20 feat(buildPythonPackage): support new pyproject format
https://github.com/NixOS/nixpkgs/pull/271597 implemented a new format for python packages that is starting to get traction in nixpkgs/unstable (soon to become NixOS 24.05).

That is a progress towards https://github.com/NixOS/nixpkgs/issues/272178, which would be a massive improvement for dream2nix once completed.

This first step just makes sure that `buildPythonPackage` supports the new arguments properly. Without this change, many dream2nix python derivations fail to build on nixos-unstable right now.

Probably other python auto-builders should leverage these new options when available for the d2n user. That can be added later.

@moduon MT-1075
2024-05-13 09:40:15 +01:00
phaer
1a4df0e94f fetchPipMetadata: make mitmproxy optional 2024-05-12 14:44:19 +02:00
github-actions[bot]
07bd44a336 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7?narHash=sha256-Mr3U37Rh6tH0FbaDFu0aZDwk9mPAe7ASaqDOGgLqqLU%3D' (2024-05-01)
  → 'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc?narHash=sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo%2B2nruiTcTZp5jK7o%3D' (2024-05-02)
2024-05-03 18:32:37 +00:00
github-actions[bot]
e7ae3d8751 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7?narHash=sha256-Mr3U37Rh6tH0FbaDFu0aZDwk9mPAe7ASaqDOGgLqqLU%3D' (2024-05-01)
  → 'github:NixOS/nixpkgs/94035b482d181af0a0f8f77823a790b256b7c3cc?narHash=sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo%2B2nruiTcTZp5jK7o%3D' (2024-05-02)
2024-05-03 18:32:37 +00:00
github-actions[bot]
f8bafbf1e6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae?narHash=sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ%3D' (2024-04-28)
  → 'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7?narHash=sha256-Mr3U37Rh6tH0FbaDFu0aZDwk9mPAe7ASaqDOGgLqqLU%3D' (2024-05-01)
2024-05-01 18:32:57 +00:00
github-actions[bot]
92feb5d53c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae?narHash=sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ%3D' (2024-04-28)
  → 'github:NixOS/nixpkgs/bcd44e224fd68ce7d269b4f44d24c2220fd821e7?narHash=sha256-Mr3U37Rh6tH0FbaDFu0aZDwk9mPAe7ASaqDOGgLqqLU%3D' (2024-05-01)
2024-05-01 18:32:57 +00:00