nixpkgs/pkgs/development/python-modules/bork/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
825 B
Nix
Raw Normal View History

2023-10-30 23:09:06 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, build
, coloredlogs
, packaging
2023-11-09 13:06:41 +00:00
, pip
2023-10-30 23:09:06 +00:00
, toml
, twine
, wheel
}:
buildPythonPackage rec {
pname = "bork";
2023-11-09 13:06:41 +00:00
version = "7.0.1";
2023-10-30 23:09:06 +00:00
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "duckinator";
repo = pname;
2023-11-09 13:06:41 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-y/p2uuU+QKgJSdJmMt3oebm/zcuatYWTW8Jl79YxA3g=";
2023-10-30 23:09:06 +00:00
};
propagatedBuildInputs = [
build
coloredlogs
packaging
2023-11-09 13:06:41 +00:00
pip
2023-10-30 23:09:06 +00:00
toml
twine
wheel
];
pythonImportsCheck = [
"bork"
"bork.api"
"bork.cli"
];
2023-10-30 23:09:06 +00:00
meta = with lib; {
description = "Python build and release management tool";
homepage = "https://github.com/duckinator/bork";
maintainers = with maintainers; [ nicoo ];
platforms = platforms.all;
};
}