Jörg Thalheim
9ed2ca4778
default.nix: don't depend on nixfmt at build time.
2024-06-06 12:22:10 +00:00
seth
3b1c559db5
use nixfmt
with --format
2024-06-06 12:22:10 +00:00
Jörg Thalheim
da0b54447c
also fix updating default.nix version for a release
2023-09-30 09:25:27 +00:00
Jörg Thalheim
2732363f42
Modernize buildsystem ( #199 )
...
* flake.lock: Update
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01)
→ 'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/cf73a86c35a84de0e2f3ba494327cf6fb51c0dfd' (2023-08-10)
→ 'github:NixOS/nixpkgs/517501bcf14ae6ec47efd6a17dda0ca8e6d866f9' (2023-09-27)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/19dee4bf6001849006a63f3435247316b0488e99' (2023-08-12)
→ 'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
* nix-update: convert to pyproject
* drop old pkgs.nixVersions.stable fallback
* add create-release.sh script
2023-09-30 10:04:21 +01:00
Jörg Thalheim
9d675f2509
move mypy to treefmt
2023-08-12 08:23:59 +00:00
Jörg Thalheim
0bf780a408
add treefmt; switch to flake-parts
2023-05-20 09:14:24 +02:00
Jörg Thalheim
0cc8a81758
default.nix: don't import src, no with statement
2023-05-20 09:00:40 +02:00
figsoda
6fb7778ddf
add cargo-lock-expand test
2023-03-21 09:06:58 -04:00
figsoda
db07c35dae
add support for updating packages using importCargoLock
2023-03-20 22:48:32 -04:00
figsoda
e04066feda
checkInputs -> nativeCheckInputs
2023-01-24 13:39:11 -05:00
figsoda
5114959654
add bin/nix-update back to ruff checks
2023-01-07 15:28:20 -05:00
Sandro
114b107fcf
Fix ruf error on nixos-unstable
...
```
## run black
All done! ✨ 🍰 ✨
28 files would be left unchanged.
## run ruff
error `bin/nix-update` is not supported; Ruff only supports `.py` and `.pyi` files
```
2023-01-04 15:14:15 +01:00
Pol Dellaiera
a0e83f665c
use nix fmt
2022-12-31 00:47:52 +01:00
figsoda
ea8b8663b9
check bin/nix-update with ruff
2022-12-11 13:55:52 -05:00
Jörg Thalheim
d4eceb200e
switch to ruff from flake8
2022-12-11 13:53:00 -05:00
figsoda
5e65b7dcac
also check bin/nix-update with black
2022-11-14 18:38:43 -05:00
Jörg Thalheim
3f8112992a
add isort to build
2022-11-14 23:40:40 +01:00
Jörg Thalheim
fd3202917b
drop nix-prefetch from nix-update
2022-11-14 15:38:56 +01:00
Winter
5692ffc91d
don't use nix-prefetch
2022-11-10 17:56:31 +01:00
Sandro
883b5e7ee0
Use always the latest available nix stable
2022-03-10 11:32:58 +01:00
Sandro Jäckel
18df0921b5
Drop python3 again
...
the broken wrapper on my side is caused by something else
2022-02-16 21:07:54 +01:00
Sandro Jäckel
e3931f3e82
Fix shebang in nix-update
2022-02-16 20:55:10 +01:00
Sandro Jäckel
b031f8d877
Remove now aliases nixUnstable
2022-02-16 20:52:25 +01:00
Jörg Thalheim
8e88950e6c
fix mypy
2021-12-13 15:00:12 +01:00
Sandro
f4c12979d4
Replace nixFlakes alias with nixUnstable
2021-07-28 10:15:06 +02:00
Jörg Thalheim
cf8d6cf2e5
typecheck tests
2021-03-25 11:02:40 +01:00
Tim Steinbach
76cf63bbe2
Add --format flag
...
The flag will invoke nixpkgs-fmt
2021-02-21 13:15:29 -05:00
Tim Steinbach
41929e6613
Add --review flag
2021-01-28 09:40:19 -05:00
Jörg Thalheim
05dccf154e
add integration tests
2021-01-09 11:20:20 +01:00
Jörg Thalheim
fb4ec8bce0
flake: use self as src
2020-12-01 10:31:29 +01:00
Jörg Thalheim
cc11c200d3
run pytest for build
2020-12-01 09:37:57 +01:00
Jörg Thalheim
7344500e46
get old version from git
2020-12-01 09:36:48 +01:00
Jörg Thalheim
78ebf7b1df
always assume nix flakes enabled version
...
This was adding too much boiler code.
Having one version is easier to maintain.
2020-11-18 09:23:07 +01:00
Jörg Thalheim
614fad2532
use mypy strict mode
2020-05-03 07:53:16 +01:00
Jörg Thalheim
f341d1e982
make it a proper python/nix package
2020-03-16 10:06:32 +00:00