summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flyingsquid/default.nix
blob: 05914ccf59553af1fe71324f35efe75fb0fe3fd2 (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
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pgmpy,
  torch,
}:
let
  pname = "flyingsquid";
  version = "0.0.0a0";
in
buildPythonPackage {
  inherit pname version;
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "HazyResearch";
    repo = "flyingsquid";
    rev = "28a713a9ac501b7597c2489468ae189943d00685";
    hash = "sha256-DPHTSxDD4EW3nrNk2fk0pKJI/8+pQ7Awywd8nxhBruo=";
  };

  propagatedBuildInputs = [
    pgmpy
    torch
  ];

  pythonImportsCheck = [ "flyingsquid" ];

  # no tests
  doCheck = false;

  meta = {
    description = "More interactive weak supervision with FlyingSquid";
    homepage = "https://github.com/HazyResearch/flyingsquid";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ happysalada ];
  };
}