poetry2nix: 1.20.0 -> 1.21.0

This commit is contained in:
adisbladis 2021-09-29 21:35:44 -05:00
parent bf84010052
commit c779050edb
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
2 changed files with 11 additions and 1 deletions

View File

@ -5,7 +5,7 @@
}:
let
# Poetry2nix version
version = "1.20.0";
version = "1.21.0";
inherit (poetryLib) isCompatible readTOML moduleName;
@ -339,6 +339,9 @@ lib.makeScope pkgs.newScope (self: {
) { inherit app; };
};
# Extract position from explicitly passed attrs so meta.position won't point to poetry2nix internals
pos = builtins.unsafeGetAttrPos (lib.elemAt (lib.attrNames attrs) 0) attrs;
meta = lib.optionalAttrs (lib.hasAttr "description" pyProject.tool.poetry)
{
inherit (pyProject.tool.poetry) description;

View File

@ -156,6 +156,12 @@ self: super:
}
);
cheroot = super.cheroot.overridePythonAttrs (
old: {
dontPreferSetupPy = true;
}
);
colour = super.colour.overridePythonAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ self.d2to1 ];
@ -547,6 +553,7 @@ self: super:
self.pytestrunner
self.cryptography
self.pyjwt
self.setuptools-scm-git-archive
];
}
);