1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 pyyaml,
6 six,
7 lxml,
8}:
9
10buildPythonPackage rec {
11 pname = "ipyxact";
12 version = "0.3.2";
13 format = "setuptools";
14
15 propagatedBuildInputs = [ pyyaml ];
16 checkInputs = [
17 six
18 lxml
19 ];
20
21 src = fetchFromGitHub {
22 owner = "olofk";
23 repo = "ipyxact";
24 rev = "v${version}";
25 hash = "sha256-myD+NnqcxxaSAV7qZa8xqeciaiFqFePqIzd7sb/2GXA=";
26 };
27
28 pythonImportsCheck = [ "ipyxact" ];
29
30 meta = with lib; {
31 homepage = "https://github.com/olofk/ipyxact";
32 description = "IP-XACT parser";
33 mainProgram = "ipxact2v";
34 maintainers = with maintainers; [ genericnerdyusername ];
35 license = licenses.mit;
36 };
37}