python310Packages.cwlformat: init at 2022.02.18
This commit is contained in:
parent
e11e570888
commit
768366b645
2 changed files with 44 additions and 0 deletions
42
pkgs/development/python-modules/cwlformat/default.nix
Normal file
42
pkgs/development/python-modules/cwlformat/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, ruamel-yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cwlformat";
|
||||
version = "2022.02.18";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rabix";
|
||||
repo = "cwl-format";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-FI8hUgb/KglTkubZ+StzptoSsYal71ITyyFNg7j48yk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cwlformat"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code formatter for CWL";
|
||||
homepage = "https://github.com/rabix/cwl-format";
|
||||
changelog = "https://github.com/rabix/cwl-format/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2126,6 +2126,8 @@ self: super: with self; {
|
|||
|
||||
cwl-upgrader = callPackage ../development/python-modules/cwl-upgrader { };
|
||||
|
||||
cwlformat = callPackage ../development/python-modules/cwlformat { };
|
||||
|
||||
cx_Freeze = callPackage ../development/python-modules/cx_freeze { };
|
||||
|
||||
cx_oracle = callPackage ../development/python-modules/cx_oracle { };
|
||||
|
|
Loading…
Reference in a new issue