2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git, build }:
|
2018-03-31 16:32:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "check-manifest";
|
2021-01-18 03:05:20 +00:00
|
|
|
version = "0.46";
|
2018-03-31 16:32:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-18 03:05:20 +00:00
|
|
|
sha256 = "5895e42a012989bdc51854a02c82c8d6898112a4ab11f2d7878200520b49d428";
|
2018-03-31 16:32:41 +01:00
|
|
|
};
|
|
|
|
|
2020-07-07 15:05:20 +01:00
|
|
|
# Test requires filesystem access
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist"
|
|
|
|
'';
|
2019-11-02 18:15:49 +00:00
|
|
|
|
2021-01-12 10:24:44 +00:00
|
|
|
propagatedBuildInputs = [ build pep517 toml ];
|
2020-07-07 15:05:20 +01:00
|
|
|
|
|
|
|
checkInputs = [ mock breezy git ];
|
2018-03-31 16:32:41 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mgedmin/check-manifest";
|
2018-03-31 16:32:41 +01:00
|
|
|
description = "Check MANIFEST.in in a Python source package for completeness";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo ];
|
|
|
|
};
|
|
|
|
}
|