about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipyxact/default.nix
blob: 803ed5378cb49f3bdce840c6e96c1ad13bd99aa0 (plain) (blame)
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
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pyyaml,
  six,
  lxml,
}:

buildPythonPackage rec {
  pname = "ipyxact";
  version = "0.3.2";
  format = "setuptools";

  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";
    mainProgram = "ipxact2v";
    maintainers = with maintainers; [ genericnerdyusername ];
    license = licenses.mit;
  };
}