2023-05-24 13:37:59 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, pyyaml
|
|
|
|
, six
|
|
|
|
, lxml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipyxact";
|
|
|
|
version = "0.3.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
|
|
|
checkInputs = [ six lxml ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "olofk";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-myD+NnqcxxaSAV7qZa8xqeciaiFqFePqIzd7sb/2GXA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ipyxact" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/olofk/ipyxact";
|
|
|
|
description = "IP-XACT parser";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ipxact2v";
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ genericnerdyusername ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|