Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, pbr, pytestCheckHook,
pytest-cov-stub, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "git-url-parse"; version = "1.2.2"; pyproject = true;
src = fetchFromGitHub { owner = "coala"; repo = "git-url-parse"; tag = finalAttrs.version; hash = "sha256-+0V/C3wE02ppdDGn7iqdvmgsUwTR7THUakUilvkzoYg="; };
# Manually set version because prb wants to get it from the git # upstream repository (and we are installing from tarball instead) env.PBR_VERSION = finalAttrs.version;
build-system = [ setuptools ];
dependencies = [ pbr ];
pythonImportsCheck = [ "giturlparse" ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ];
meta = { description = "Simple GIT URL parser"; homepage = "https://github.com/coala/git-url-parse"; changelog = "https://github.com/coala/git-url-parse/blob/${finalAttrs.version}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = [ ]; };})