mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #264473 from nbraud/pkgs/bork
This commit is contained in:
commit
c1327b614b
48
pkgs/development/python-modules/bork/default.nix
Normal file
48
pkgs/development/python-modules/bork/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -1573,6 +1573,8 @@ self: super: with self; {
|
||||
enablePython = true;
|
||||
});
|
||||
|
||||
bork = callPackage ../development/python-modules/bork { };
|
||||
|
||||
boschshcpy = callPackage ../development/python-modules/boschshcpy { };
|
||||
|
||||
bottombar = callPackage ../development/python-modules/bottombar { };
|
||||
|
Loading…
Reference in New Issue
Block a user