mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python3Packages.testrepository: 0.0.21 -> 0.0.22 (#549096)
This commit is contained in:
@@ -1,41 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
testtools,
|
||||
testresources,
|
||||
pbr,
|
||||
python-subunit,
|
||||
fetchFromGitHub,
|
||||
fixtures,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
python-subunit,
|
||||
python,
|
||||
testresources,
|
||||
testtools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "testrepository";
|
||||
version = "0.0.21";
|
||||
format = "setuptools";
|
||||
version = "0.0.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Nor89+CQs8aIvddUol9kvDFOUSuBb4xxufn8F9w3o9k=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "testing-cabal";
|
||||
repo = "testrepository";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-t5cTVMtzYIu4AIQVUVz3odvj+qFeYyUxIroB3yb0bFQ=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ testresources ];
|
||||
buildInputs = [ pbr ];
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
fixtures
|
||||
python-subunit
|
||||
testtools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ testresources ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} ./testr
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Database of test results which can be used as part of developer workflow";
|
||||
mainProgram = "testr";
|
||||
homepage = "https://pypi.org/project/testrepository/";
|
||||
homepage = "https://github.com/testing-cabal/testrepository";
|
||||
changelog = "https://github.com/testing-cabal/testrepository/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ ];
|
||||
mainProgram = "testr";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user