2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
48 lines
801 B
Nix
48 lines
801 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
|
|
, build
|
|
, coloredlogs
|
|
, packaging
|
|
, toml
|
|
, twine
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bork";
|
|
version = "7.0.0";
|
|
pyproject = true;
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "duckinator";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-frwkU2YesYK0RJNz9yqiXj1XeTZ8jg5oClri4hEYokg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
build
|
|
coloredlogs
|
|
packaging
|
|
toml
|
|
twine
|
|
wheel
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"bork"
|
|
"bork.api"
|
|
"bork.cli"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python build and release management tool";
|
|
homepage = "https://github.com/duckinator/bork";
|
|
maintainers = with maintainers; [ nicoo ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|