Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
976 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, meson, ninja, setuptools, toml, wheel,}:
# TODO: offer meson as a Python package so we have dist-info folder.
buildPythonPackage rec { pname = "mesonpep517"; version = "0.2"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-Fyo7JfLqHJqbahEjVDt/0xJxOfVLqLn3xNJ4lSB7KIw="; };
# Applies the following merge request, which doesn't apply cleanly: # https://gitlab.com/thiblahute/mesonpep517/-/merge_requests/25 # postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'backend-path = "."' 'backend-path = ["."]' '';
build-system = [ setuptools wheel ];
dependencies = [ toml ];
propagatedNativeBuildInputs = [ meson ninja ];
meta = { description = "Create pep517 compliant packages from the meson build system"; homepage = "https://gitlab.com/thiblahute/mesonpep517"; license = lib.licenses.asl20; };}