567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
29 lines
730 B
Nix
29 lines
730 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchurl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distutils-extra";
|
|
version = "2.50";
|
|
format = "setuptools";
|
|
|
|
src = fetchurl {
|
|
url = "https://salsa.debian.org/python-team/modules/python-distutils-extra/-/archive/${version}/python-${pname}-${version}.tar.bz2";
|
|
hash = "sha256-aq5+JjlzD3fS4+CPxZNjyz2QNfqsChC0w6KRVgbTGwI=";
|
|
};
|
|
|
|
# Tests are out-dated as the last upstream release is from 2016
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "DistUtilsExtra" ];
|
|
|
|
meta = {
|
|
description = "Enhancements to Python's distutils";
|
|
homepage = "https://launchpad.net/python-distutils-extra";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|