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.
26 lines
684 B
Nix
26 lines
684 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lib,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parsley";
|
|
version = "1.3";
|
|
format = "setuptools";
|
|
src = fetchPypi {
|
|
pname = "Parsley";
|
|
inherit version;
|
|
sha256 = "0hcd41bl07a8sx7nmx12p16xprnblc4phxkawwmmy78n8y6jfi4l";
|
|
};
|
|
# Tests fail although the package works just fine. Unfortunately
|
|
# the tests as run by the upstream CI server travis.org are broken.
|
|
doCheck = false;
|
|
meta = with lib; {
|
|
license = licenses.mit;
|
|
homepage = "https://launchpad.net/parsley";
|
|
description = "Parser generator library based on OMeta, and other useful parsing tools";
|
|
maintainers = with maintainers; [ seppeljordan ];
|
|
};
|
|
}
|