pythonPackages.mesonpep517: init at 0.1.9999994
This commit is contained in:
parent
d9b0ef5b0a
commit
21c201adee
42
pkgs/development/python-modules/mesonpep517/default.nix
Normal file
42
pkgs/development/python-modules/mesonpep517/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, intreehooks
|
||||||
|
, pytoml
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
# TODO: offer meson as a Python package so we have dist-info folder.
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mesonpep517";
|
||||||
|
version = "0.1.9999994";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b5bcca61024164c4a51d29e6921ea1f756d54197c8f052e4c66a2b8399aa9349";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ intreehooks ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pytoml ];
|
||||||
|
|
||||||
|
# postPatch = ''
|
||||||
|
# # Meson tries to detect ninja as well, so we should patch meson as well.
|
||||||
|
# substituteInPlace mesonpep517/buildapi.py \
|
||||||
|
# --replace "'meson'" "'${meson}/bin/meson'" \
|
||||||
|
# --replace "'ninja'" "'${ninja}/bin/ninja'"
|
||||||
|
# '';
|
||||||
|
|
||||||
|
propagatedNativeBuildInputs = [ meson ninja ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Create pep517 compliant packages from the meson build system";
|
||||||
|
homepage = https://gitlab.com/thiblahute/mesonpep517;
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = [ lib.maintainers.fridh ];
|
||||||
|
};
|
||||||
|
}
|
@ -3860,6 +3860,8 @@ in {
|
|||||||
setupHook = null;
|
setupHook = null;
|
||||||
})));
|
})));
|
||||||
|
|
||||||
|
mesonpep517 = callPackage ../development/python-modules/mesonpep517 { };
|
||||||
|
|
||||||
metaphone = callPackage ../development/python-modules/metaphone { };
|
metaphone = callPackage ../development/python-modules/metaphone { };
|
||||||
|
|
||||||
mezzanine = callPackage ../development/python-modules/mezzanine { };
|
mezzanine = callPackage ../development/python-modules/mezzanine { };
|
||||||
|
Loading…
Reference in New Issue
Block a user