If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
28 lines
548 B
Nix
28 lines
548 B
Nix
{
|
|
buildPythonPackage,
|
|
lib,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xstatic";
|
|
version = "1.0.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "XStatic";
|
|
inherit version;
|
|
hash = "sha256-QCVEzJ4XlIlEEFTwnIB4BOEV6iRpB96HwDVftPWjEmg=";
|
|
};
|
|
|
|
# no tests implemented
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://bitbucket.org/thomaswaldmann/xstatic";
|
|
description = "Base packaged static files for python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ makefu ];
|
|
};
|
|
}
|