nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 39 lines 777 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pgmpy, 6 torch, 7}: 8let 9 pname = "flyingsquid"; 10 version = "0.0.0a0"; 11in 12buildPythonPackage { 13 inherit pname version; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "HazyResearch"; 18 repo = "flyingsquid"; 19 rev = "28a713a9ac501b7597c2489468ae189943d00685"; 20 hash = "sha256-DPHTSxDD4EW3nrNk2fk0pKJI/8+pQ7Awywd8nxhBruo="; 21 }; 22 23 propagatedBuildInputs = [ 24 pgmpy 25 torch 26 ]; 27 28 pythonImportsCheck = [ "flyingsquid" ]; 29 30 # no tests 31 doCheck = false; 32 33 meta = { 34 description = "More interactive weak supervision with FlyingSquid"; 35 homepage = "https://github.com/HazyResearch/flyingsquid"; 36 license = lib.licenses.asl20; 37 maintainers = with lib.maintainers; [ happysalada ]; 38 }; 39}