fawltydeps: update to latest master

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-29 21:34:07 +03:00
parent c255272b89
commit cecead7114
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
2 changed files with 11 additions and 22 deletions

View File

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1679477347, "lastModified": 1680005833,
"narHash": "sha256-0Vpbt5q4QG3XHVcUA9ifWxUg1eqcz0fdcQdNdiK4ZrM=", "narHash": "sha256-BTMEjs+7hpmaP3n4hFVddrObMssANidP4EHgSpB0Lk0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4dc8a5c2dcb80cbdd00b4010d41a75dd26379e86", "rev": "bd4e35e14a0130268c8f7b253a15e09d76ec95b7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -40,11 +40,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1679445660, "lastModified": 1679994832,
"narHash": "sha256-yhO+5d5Ilxybmt3/oGI7KJ/kjnDq50MLrPIvjc40qeg=", "narHash": "sha256-LSsvtnkambdSWeNYT8wWTjSFVFyyIYxrI77QDfzUCHI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "poetry2nix", "repo": "poetry2nix",
"rev": "50ec694c27a12bc178fff961c4dd927fa6a47f18", "rev": "2a72eea5fbccc262855c87e3032837f8465db385",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -1,29 +1,18 @@
{ lib { poetry2nix
, poetry2nix
, fetchFromGitHub , fetchFromGitHub
, python310 , python310
}: }:
let let
poetryOverrides = poetry2nix.defaultPoetryOverrides.extend (full: prev: {
nox = prev.nox.overridePythonAttrs (old: {
buildInputs = old.buildInputs ++ [ prev.setuptools ];
});
pip-requirements-parser = prev.pip-requirements-parser.overridePythonAttrs (old: {
dontConfigure = true;
});
});
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tweag"; owner = "tweag";
repo = "FawltyDeps"; repo = "FawltyDeps";
rev = "2f835e077504770146730cb19bbe611dbbec5be8"; rev = "140636c924fa9d33f31a1eda14b752cf270adb54";
sha256 = "sha256-dPoH86BTb8OmbVOKcBPFIRijz1YbuJ4KbHlLu+bXI3U="; sha256 = "sha256-3NoKm/oDYd8eQq1m4kQkQHEaeYFuaj3l6Gic8Hv7KEQ=";
}; };
in in
poetry2nix.mkPoetryApplication { poetry2nix.mkPoetryApplication {
version = "2023-03-27"; version = "2023-03-29";
python = python310; python = python310;
projectDir = "${src}"; projectDir = src;
overrides = poetryOverrides;
} }