blob: cb7d2f19b10bca64cbb6fdcc7a89b718d24fc647 (
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
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "parse";
version = "1.20.2";
pyproject = true;
src = fetchFromGitHub {
owner = "r1chardj0n3s";
repo = "parse";
tag = version;
hash = "sha256-i/H3E/Z8vqt2jLS8BaVHJuD2Fbi7TP7EeOjXAJ16bWg=";
};
postPatch = ''
rm .pytest.ini
'';
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://github.com/r1chardj0n3s/parse";
description = "parse() is the opposite of format()";
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ alunduil ];
};
}
|