Commit 6597a605 authored by Sarah Clark's avatar Sarah Clark
Browse files
parent a4e0906b
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
{
  lib,
  astunparse,
  buildPythonPackage,
  distutils,
  fetchFromGitHub,
  flit-core,
  hatchling,
  numpy,
  pytestCheckHook,
  stdlib-list,
  torch,
  torchvision,
  stdlib-list,
}:

buildPythonPackage rec {
  pname = "fickling";
  version = "0.1.4";
  version = "0.1.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "trailofbits";
    repo = "fickling";
    tag = "v${version}";
    hash = "sha256-EgVtMYPwSVBlw1bmX3qEeUKvEY7Awv6DOB5tgSLG+xQ=";
    hash = "sha256-ExyjOTpIkDM2PmHxYUbe8xNhhQChqfUqTtsNR8Z7ZEk=";
  };

  build-system = [
    distutils
    flit-core
    hatchling
  ];

  dependencies = [
    astunparse
    stdlib-list
  ];

  pythonRelaxDeps = [ "stdlib_list" ];
  pythonRelaxDeps = [ "stdlib-list" ];

  optional-dependencies = {
    torch = [