Unverified Commit da8eea70 authored by wxt's avatar wxt
Browse files

taco: nixfmt

parent 4633a7c7
Loading
Loading
Loading
Loading
+21 −13
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchgit
, cmake
, llvmPackages
, enablePython ? false
, python ? null
{
  stdenv,
  lib,
  fetchgit,
  cmake,
  llvmPackages,
  enablePython ? false,
  python ? null,
}:

let pyEnv = python.withPackages (p: with p; [ numpy scipy ]);
let
  pyEnv = python.withPackages (
    p: with p; [
      numpy
      scipy
    ]
  );

in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
  pname = "taco";
  version = "unstable-2022-08-02";

@@ -45,11 +53,11 @@ in stdenv.mkDerivation rec {
  # However, the python module works flawlessly.
  dontFixup = enablePython;

  meta = with lib; {
  meta = {
    description = "Computes sparse tensor expressions on CPUs and GPUs";
    mainProgram = "taco";
    license = licenses.mit;
    license = lib.licenses.mit;
    homepage = "https://github.com/tensor-compiler/taco";
    maintainers = [ maintainers.sheepforce ];
    maintainers = [ lib.maintainers.sheepforce ];
  };
}