2020-07-07 15:05:20 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git }:
|
2018-03-31 16:32:41 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "check-manifest";
|
2020-06-06 07:47:01 +01:00
|
|
|
version = "0.42";
|
2018-03-31 16:32:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:01 +01:00
|
|
|
sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
|
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
|
|
|
|
2020-07-07 15:05:20 +01:00
|
|
|
propagatedBuildInputs = [ pep517 toml ];
|
|
|
|
|
|
|
|
checkInputs = [ mock breezy git ];
|
2018-03-31 16:32:41 +01:00
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|