Revert "Merge pull request #164677 from lovesegfault/update-cleo"
This reverts commit35e23aa9dc
, reversing changes made toa8f938c15c
.
This commit is contained in:
parent
35e23aa9dc
commit
3d9818b9c7
|
@ -1,31 +1,23 @@
|
||||||
{ lib
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, buildPythonPackage
|
, clikit }:
|
||||||
, clikit
|
|
||||||
, fetchFromGitHub
|
|
||||||
, poetry-core
|
|
||||||
, pytestCheckHook
|
|
||||||
, pytest-mock
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cleo";
|
pname = "cleo";
|
||||||
version = "1.0.0a4";
|
version = "0.8.1";
|
||||||
format = "pyproject";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "sdispater";
|
inherit pname version;
|
||||||
repo = pname;
|
sha256 = "3d0e22d30117851b45970b6c14aca4ab0b18b1b53c8af57bed13208147e4069f";
|
||||||
rev = version;
|
|
||||||
hash = "sha256-w4WzGK7Q055iPF5wkpVXHoHvwr8ewKDqDUPCdoGhAQ0=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ clikit poetry-core ];
|
propagatedBuildInputs = [
|
||||||
|
clikit
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
# The Pypi tarball doesn't include tests, and the GitHub source isn't
|
||||||
|
# buildable until we bootstrap poetry, see
|
||||||
checkInputs = [ pytestCheckHook pytest-mock ];
|
# https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665
|
||||||
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "cleo" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/sdispater/cleo";
|
homepage = "https://github.com/sdispater/cleo";
|
||||||
|
|
Loading…
Reference in a new issue