mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
mallard-ducktype: init at 1.0.2
This commit is contained in:
parent
678b4f01a6
commit
6bd5780275
3 changed files with 44 additions and 0 deletions
4
pkgs/by-name/ma/mallard-ducktype/package.nix
Normal file
4
pkgs/by-name/ma/mallard-ducktype/package.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ python3 }:
|
||||
|
||||
with python3.pkgs;
|
||||
toPythonApplication mallard-ducktype
|
38
pkgs/development/python-modules/mallard-ducktype/default.nix
Normal file
38
pkgs/development/python-modules/mallard-ducktype/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mallard-ducktype";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectmallard";
|
||||
repo = "mallard-ducktype";
|
||||
tag = version;
|
||||
hash = "sha256-jHjzTBBRBh//bOrdnyCRmZRmpupgDaDRuZGAd75baco=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pushd tests
|
||||
./runtests
|
||||
popd
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "mallard" ];
|
||||
|
||||
meta = {
|
||||
description = "Parser for the lightweight Ducktype syntax for Mallard";
|
||||
homepage = "https://github.com/projectmallard/mallard-ducktype";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -7863,6 +7863,8 @@ self: super: with self; {
|
|||
|
||||
malduck = callPackage ../development/python-modules/malduck { };
|
||||
|
||||
mallard-ducktype = callPackage ../development/python-modules/mallard-ducktype { };
|
||||
|
||||
mammoth = callPackage ../development/python-modules/mammoth { };
|
||||
|
||||
mamba-ssm = callPackage ../development/python-modules/mamba-ssm { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue