Bump pyproject.nix

This commit is contained in:
adisbladis 2023-11-02 17:38:17 +13:00 committed by mergify[bot]
parent 954bacb0a6
commit 203dc17210
2 changed files with 6 additions and 27 deletions

View File

@ -49,7 +49,7 @@
environ, environ,
filename, filename,
}: let }: let
is_wheel = libpyproject.pep427.isWheelFileName filename; is_wheel = libpyproject.pypa.isWheelFileName filename;
func = func =
if is_wheel if is_wheel
then isUsableWheelFilename then isUsableWheelFilename
@ -74,7 +74,7 @@
# name: matchUniversalWheelFileName name != null; # name: matchUniversalWheelFileName name != null;
isValidUniversalWheelFilename = {filename}: let isValidUniversalWheelFilename = {filename}: let
parsed_filename = libpyproject.pep427.parseFileName filename; parsed_filename = libpyproject.pypa.parseWheelFileName filename;
is_valid = is_valid =
(parsed_filename.languageTag == "py3") (parsed_filename.languageTag == "py3")
&& (parsed_filename.abiTag == "none") && (parsed_filename.abiTag == "none")
@ -88,7 +88,7 @@
filename, filename,
}: let }: let
# TODO: implement it # TODO: implement it
parsed_filename = libpyproject.pep427.parseFileName filename; parsed_filename = libpyproject.pypa.parseWheelFileName filename;
is_valid_build = true; is_valid_build = true;
is_valid_implementation = true; is_valid_implementation = true;
is_valid_abi = true; is_valid_abi = true;

View File

@ -17,26 +17,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1698579227,
"narHash": "sha256-KVWjFZky+gRuWennKsbo6cWyo7c/z/VgCte5pR9pEKg=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f76e870d64779109e41370848074ac4eaa1606ec",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1695837737, "lastModified": 1695837737,
@ -77,11 +57,11 @@
"pyproject-nix": { "pyproject-nix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1694075710, "lastModified": 1698922660,
"narHash": "sha256-B2EzHfVwk6RlW6KGXh/85DkffI8QIaD7ugm119Xz5Hs=", "narHash": "sha256-FhaXC67HjBWARosAc2Xh7S8cxORrEvyGhv2PHoqKY2I=",
"owner": "adisbladis", "owner": "adisbladis",
"repo": "pyproject.nix", "repo": "pyproject.nix",
"rev": "c66dab8e7bce2a13c10baeebfe8fe63c51df62c3", "rev": "8929485ceb69d26762f84836273eadca01f7660d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -93,7 +73,6 @@
"root": { "root": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"purescript-overlay": "purescript-overlay", "purescript-overlay": "purescript-overlay",
"pyproject-nix": "pyproject-nix" "pyproject-nix": "pyproject-nix"