Untitled

 avatar
unknown
plain_text
2 years ago
969 B
3
Indexable
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/55520e0602239cf57799cc5eebcac2712b5728eb.tar.gz") {overlays = [(final: prev: { cudaPackages = prev.cudaPackages_12; })];} }:

with pkgs;

python310Packages.buildPythonPackage rec {
  pname = "lws";
  version = "1.2.8"; # replace with the actual version
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Jonathan-LeRoux";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-vOJY1qd+7KuYKo1KaqqDD0B7BEST4tHNba0RaqRnYgM=";
  };
  nativeBuildInputs = with pkgs; [
    automake
    python310Packages.cython_3
    python310Packages.setuptools
  ];

  buildInputs = [
    python310Packages.numpy
  ];

  postPatch = ''
    cd python
  '';
  
  meta = with lib; {
    description = "Short description of the package"; # replace with actual description
    homepage = "https://github.com/Jonathan-LeRoux/lws";
    license = licenses.mit; # replace with the actual license
  };
}
Editor is loading...
Leave a Comment