Skip to content

Commit

Permalink
fertilizer: init at 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisie committed Dec 25, 2024
1 parent 40c2168 commit 952b2a2
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/fe/fertilizer/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
python3,
fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
pname = "fertilizer";
version = "0.3.0";
pyproject = true;

src = fetchFromGitHub {
owner = "moleculekayak";
repo = "fertilizer";
tag = "v${version}";
hash = "sha256-sDoAjEiKxHf+HtFLZr6RwuXN+rl0ZQnFUoQ09QiE6Xc=";
};

build-system = with python3.pkgs; [ setuptools ];

dependencies = with python3.pkgs; [
bencoder
colorama
flask
requests
];

nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
requests-mock
];

pythonImportsCheck = [ "fertilizer" ];

meta = {
description = "Cross-seeding tool for music";
homepage = "https://github.com/moleculekayak/fertilizer";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambroisie ];
mainProgram = "fertilizer";
};
}

0 comments on commit 952b2a2

Please sign in to comment.