python312Package.ssort: init at 0.13.0
Release: https://github.com/bwhmather/ssort/releases/tag/0.13.0
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
pathspec,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ssort";
|
||||
version = "0.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bwhmather";
|
||||
repo = "ssort";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-P/FUayCC7KfXjtzclTPLhLw5o0bV4L98tes69w+038o=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pathspec ];
|
||||
|
||||
pythonImportsCheck = [ "ssort" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Automatically sorting python statements within a module";
|
||||
homepage = "https://github.com/bwhmather/ssort";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ tochiaha ];
|
||||
mainProgram = "ssort";
|
||||
};
|
||||
}
|
||||
@@ -14688,6 +14688,8 @@ self: super: with self; {
|
||||
|
||||
ssg = callPackage ../development/python-modules/ssg { };
|
||||
|
||||
ssort = callPackage ../development/python-modules/ssort { };
|
||||
|
||||
stack-data = callPackage ../development/python-modules/stack-data { };
|
||||
|
||||
stanio = callPackage ../development/python-modules/stanio { };
|
||||
|
||||
Reference in New Issue
Block a user