Peder Bergebakken Sundt
63b5a4e989
Try pkg.meta.position before unsafeGetAttrPos
...
Fixes `nixpkgs.mpvScripts.*`, discovered while reviewing https://github.com/NixOS/nixpkgs/pull/308062
2024-05-08 23:11:04 +00:00
Daniel Sampliner
2519da8d1c
fix formatting to comply
2024-04-02 07:49:09 +00:00
Daniel Sampliner
8d44ca1d8f
respect --override-filename flag for flakes
...
fixes https://github.com/Mic92/nix-update/issues/238
2024-04-02 07:49:09 +00:00
Anthony Roussel
e567ad0c7e
Add support for updating buildMavenPackage's mvnHash
2024-03-18 07:15:52 +00:00
Gaetan Lepage
a566b9bdb1
print maintainers list
2024-01-25 10:38:41 +00:00
Gaël Reyrol
0a30179f00
Add support for updating buildComposerProject's vendorHash
...
Update tests/testpkgs/default.nix
2024-01-16 11:06:16 +01:00
Yureka
8b3e81e45d
support for updating yarn FOD hash
...
For https://github.com/NixOS/nixpkgs/pull/140701
2023-09-06 12:25:25 +02:00
Jörg Thalheim
e0239251cb
ruff: enable upgrade checks
2023-08-25 07:00:08 +00:00
figsoda
4f2d6c40e1
quote import_path
when importing in nix
2023-08-24 15:06:03 +00:00
figsoda
39cd42e0a0
fix attribute name escaping
2023-08-02 09:56:57 -04:00
Artturin
68b5b4b5a3
support new goModules attr
...
go-modules has been renamed to goModules
for nixpkgs pr 242905
2023-07-12 19:03:22 +00:00
figsoda
84103ab986
fix updating cargoLock with flakes
2023-04-26 23:33:06 -04:00
bors[bot]
430c441072
Merge #155
...
155: improve assertion message r=Mic92 a=figsoda
Co-authored-by: figsoda <figsoda@pm.me>
2023-04-22 15:44:36 +00:00
figsoda
f4d1af9636
remove unused code
2023-04-20 13:33:36 -04:00
figsoda
740ab2621c
improve assertion message
2023-04-20 13:12:44 -04:00
zowoq
0ccd9cc0b1
switch to go-modules.outputHash
2023-04-10 07:12:49 +10:00
Jörg Thalheim
f969788b35
treewide: stop using Union type in favour of |
2023-04-03 09:31:42 +02:00
Jörg Thalheim
01408b8b13
eval: Use cargo lock class to distinguish different cases instead of tristate bool|Optional|str
2023-04-03 09:31:42 +02:00
figsoda
927f47a36e
fix updating importCargoLock
when lockFile
is in the nix store
2023-04-02 22:56:36 -04:00
figsoda
db07c35dae
add support for updating packages using importCargoLock
2023-03-20 22:48:32 -04:00
Jörg Thalheim
ab45f140f6
nix-update: add url parameter to override the repository discovery
2023-01-26 10:06:29 +01:00
figsoda
435a533439
clean up eval_expression
2023-01-08 12:32:46 -05:00
figsoda
e386585a0e
Merge branch 'master' of https://github.com/mic92/nix-update into system
2023-01-08 12:25:54 -05:00
figsoda
bf2ee2bbf0
system_flags -> extra_flags, move experimental features to extra_flags
2023-01-08 10:35:32 -05:00
figsoda
3928ea476b
pass system
when importing nixpkgs
2023-01-08 10:35:17 -05:00
Jörg Thalheim
7412eff904
improve readability of eval expression
2023-01-08 08:46:48 +01:00
figsoda
329317dbdd
add --system
2023-01-04 19:55:31 -05:00
Pol Dellaiera
387027ee08
feat: let PHP extension be updatable by this tool
...
Fix the computation of the position by detecting if the pkg is a PHP extension
2022-12-30 21:43:48 +01:00
figsoda
e5f57c258c
add support for flakes
2022-12-08 12:46:35 -05:00
figsoda
895f44126b
add flag to run passthru.updateScript if possible
2022-11-28 10:43:41 -05:00
figsoda
baf3779e54
add diff features
2022-11-27 09:52:04 -05:00
figsoda
f0490e7196
Merge branch 'master' into unstable
2022-11-21 15:07:18 -05:00
Winter
ceb7d8df35
add support for npmDeps
2022-11-20 13:19:07 -05:00
figsoda
e8629b612e
add support for cargoDeps
2022-11-14 21:07:37 -05:00
figsoda
4fab744eac
remove shebangs in inexecutable files, format with black and isort
2022-11-14 17:14:09 -05:00
Jörg Thalheim
570a6ac64b
add changelog feature and add integration test for it
2022-11-14 15:38:56 +01:00
Winter
9631d62a89
add support for buildNpmPackage
2022-11-10 17:56:31 +01:00
zowoq
e4de7e6287
add vendorHash
2022-09-21 17:32:12 +10:00
zowoq
9e3ab3c1d8
cargo_sha256 -> cargo_deps
...
rename for clarity as it is both cargoHash and cargoSha256
2022-09-21 17:31:30 +10:00
zowoq
eba1571866
remove modSha256
...
no longer used in nixpkgs
2022-09-21 17:30:26 +10:00
schnusch
1d262f2ae9
nix_update/eval.py: pkg.src.url.rev -> pkg.src.rev
2022-09-21 16:27:53 +10:00
Jörg Thalheim
06dd722d36
allow to manually override filename that is patched
2022-06-14 11:22:01 +02:00
Jörg Thalheim
501befb415
don't override existing experimental features
...
This way nix-update can be used on repos that uses flake builtins.
2022-05-19 09:52:17 +02:00
schnusch
395949474a
update unstable packages from git to latest branch
...
This adds VersionPreference.BRANCH. By passing `--version=branch[=<name>]`
the commits of branch `<name>` (`master` if ommitted) are fetched and versions
`unstable-YYYY-MM-DD` are generated containing all commits up to and including
this date.
2022-01-19 20:33:23 +01:00
schnusch
cde9ee588f
is pkg.src.url.rev even a real thing?
2022-01-19 20:33:23 +01:00
schnusch
0f0bd7f9b3
use Version objects instead of version number strings
...
Add the optional attribute `rev` that is also replaced by `replace_version`
if present.
2022-01-19 20:33:18 +01:00
Jörg Thalheim
2f498d50d7
don't require valid version if --version=skip
2021-08-26 15:45:05 +02:00
Jörg Thalheim
008e69ed04
allow to upload cargo checksum when source is local
2021-08-26 13:08:18 +02:00
Jörg Thalheim
bec42b219b
fix evaluation on macos for pkgs with tests
...
fixes https://github.com/Mic92/nix-update/issues/62
2021-08-21 10:33:02 +02:00
Sandro Jäckel
8bfe7fe26b
Disable nixpkgs overlays
2021-08-15 16:57:06 +02:00