blob: 420b0e17e6489c753b573128bb6c6276039be76d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ar";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "vidstige";
repo = "ar";
tag = "v${version}";
hash = "sha256-uaEkp2uCiRMj8pTBgA6NESJO3Eh5pVc+FfX/enIBcNA=";
};
build-system = [
hatchling
];
dependencies = [
hatch-vcs
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ar" ];
disabledTests = lib.optionals stdenv.isDarwin [
"test_list"
"test_read_content"
"test_read_binary"
"test_read_content_ext"
"test_read_binary_ext"
];
meta = {
description = "Implementation of the ar archive format";
homepage = "https://github.com/vidstige/ar";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
|