9 buildPythonPackage rec {
10 pname = "git-url-parse";
12 format = "setuptools";
14 src = fetchFromGitHub {
16 repo = "git-url-parse";
18 hash = "sha256-+0V/C3wE02ppdDGn7iqdvmgsUwTR7THUakUilvkzoYg=";
22 substituteInPlace pytest.ini \
23 --replace " --cov giturlparse --cov-report term-missing" ""
26 # Manually set version because prb wants to get it from the git
27 # upstream repository (and we are installing from tarball instead)
28 env.PBR_VERSION = version;
30 propagatedBuildInputs = [ pbr ];
32 pythonImportsCheck = [ "giturlparse" ];
34 nativeCheckInputs = [ pytestCheckHook ];
37 description = "Simple GIT URL parser";
38 homepage = "https://github.com/coala/git-url-parse";
39 changelog = "https://github.com/coala/git-url-parse/blob/${src.rev}/CHANGELOG.rst";
40 license = licenses.mit;
41 maintainers = with maintainers; [ blaggacao ];