pdm: unpin resolvelib

This commit is contained in:
natsukium
2024-04-29 01:46:18 +09:00
parent 2c9005e5fa
commit e6acfe0e13
+1 -23
View File
@@ -1,6 +1,5 @@
{ lib
, python3
, fetchFromGitHub
, fetchPypi
, nix-update-script
, runtimeShell
@@ -8,29 +7,8 @@
, testers
, pdm
}:
let
python = python3.override {
# override resolvelib due to
# 1. pdm requiring a later version of resolvelib
# 2. Ansible being packaged as a library
# 3. Ansible being unable to upgrade to a later version of resolvelib
# see here for more details: https://github.com/NixOS/nixpkgs/pull/155380/files#r786255738
packageOverrides = self: super: {
resolvelib = super.resolvelib.overridePythonAttrs rec {
version = "1.0.1";
src = fetchFromGitHub {
owner = "sarugaku";
repo = "resolvelib";
rev = "/refs/tags/${version}";
hash = "sha256-oxyPn3aFPOyx/2aP7Eg2ThtPbyzrFT1JzWqy6GqNbzM=";
};
};
};
self = python;
};
in
with python.pkgs;
with python3.pkgs;
buildPythonApplication rec {
pname = "pdm";
version = "2.13.2";