mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 21:56:29 +01:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
39 lines
918 B
Nix
39 lines
918 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
poetry-core,
|
|
poetry-dynamic-versioning,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "interface-meta";
|
|
version = "1.3.0";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matthewwardrop";
|
|
repo = "interface_meta";
|
|
rev = "v${version}";
|
|
sha256 = "0rzh11wnab33b11391vc2ynf8ncxn22b12wn46lmgkrc5mqza8hd";
|
|
};
|
|
|
|
patches = [ ./0001-fix-version.patch ];
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [ poetry-dynamic-versioning ];
|
|
|
|
pythonImportsCheck = [ "interface_meta" ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/matthewwardrop/interface_meta";
|
|
description = "Convenient way to expose an extensible API with enforced method signatures and consistent documentation";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ swflint ];
|
|
};
|
|
}
|