about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ipyxact/default.nix
blob: 28652d156a87fe683cad8367791f89af51287644 (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
{ 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";
    maintainers = with maintainers; [ genericnerdyusername ];
    license = licenses.mit;
  };
}