1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
36 lines
771 B
Nix
36 lines
771 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mscerts";
|
|
version = "2025.8.29";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ralphje";
|
|
repo = "mscerts";
|
|
tag = version;
|
|
hash = "sha256-K7U4dbhH3yWElSKRhU9mHU4W+Hdc6Vb9kf/TE4EJs8c=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# extras_require contains signify -> circular dependency
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mscerts" ];
|
|
|
|
meta = {
|
|
description = "Makes the Microsoft Trusted Root Program's Certificate Trust Lists available in Python";
|
|
homepage = "https://github.com/ralphje/mscerts";
|
|
license = with lib.licenses; [ mpl20 ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|