python310Packages.interface-meta: init at 1.3.0
This commit is contained in:
parent
76c19e9e2f
commit
02a0ccf413
@ -0,0 +1,36 @@
|
||||
From 581102ae94a7e6dfd3ad3fa5371068189b9e7c44 Mon Sep 17 00:00:00 2001
|
||||
From: "Samuel W. Flint" <swflint@flintfam.org>
|
||||
Date: Thu, 27 Oct 2022 12:42:07 -0500
|
||||
Subject: [PATCH] fix-versions
|
||||
|
||||
---
|
||||
interface_meta/_version.py | 2 +-
|
||||
pyproject.toml | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/interface_meta/_version.py b/interface_meta/_version.py
|
||||
index 3d50665..b3d3818 100644
|
||||
--- a/interface_meta/_version.py
|
||||
+++ b/interface_meta/_version.py
|
||||
@@ -1,5 +1,5 @@
|
||||
__author__ = "Matthew Wardrop"
|
||||
__author_email__ = "mpwardrop@gmail.com"
|
||||
-__version__ = "0.0.0"
|
||||
+__version__ = "1.3.0"
|
||||
|
||||
__dependencies__ = []
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 43dab27..e543549 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "interface_meta"
|
||||
-version = "0.0.0"
|
||||
+version = "1.3.0"
|
||||
description = "`interface_meta` provides a convenient way to expose an extensible API with enforced method signatures and consistent documentation."
|
||||
authors = ["Matthew Wardrop <mpwardrop@gmail.com>"]
|
||||
license = "MIT"
|
||||
--
|
||||
2.37.0
|
||||
|
38
pkgs/development/python-modules/interface-meta/default.nix
Normal file
38
pkgs/development/python-modules/interface-meta/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, poetry-core, poetry-dynamic-versioning }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "interface-meta";
|
||||
version = "1.3.0";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matthewwardrop";
|
||||
repo = "interface_meta";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rzh11wnab33b11391vc2ynf8ncxn22b12wn46lmgkrc5mqza8hd";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-fix-version.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propogatedBuildInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -4712,6 +4712,8 @@ self: super: with self; {
|
||||
|
||||
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
|
||||
|
||||
interface-meta = callPackage ../development/python-modules/interface-meta { };
|
||||
|
||||
internetarchive = callPackage ../development/python-modules/internetarchive { };
|
||||
|
||||
interruptingcow = callPackage ../development/python-modules/interruptingcow { };
|
||||
|
Loading…
Reference in New Issue
Block a user