python3Packages.flit-scm: init at 1.7.0
This commit is contained in:
parent
b410bee3cd
commit
9f8a55aee5
34
pkgs/development/python-modules/flit-scm/default.nix
Normal file
34
pkgs/development/python-modules/flit-scm/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, pythonOlder
|
||||
, git
|
||||
, flit-core
|
||||
, setuptools-scm
|
||||
, tomli
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flit-scm";
|
||||
version = "1.7.0";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "WillDaSilva";
|
||||
repo = "flit_scm";
|
||||
rev = version;
|
||||
sha256 = "sha256-K5sH+oHgX/ftvhkY+vIg6wUokAP96YxrTWds3tnEtyg=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core setuptools-scm tomli git ];
|
||||
propagatedBuildInputs = [ flit-core setuptools-scm ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit to build the package.";
|
||||
homepage = "https://gitlab.com/WillDaSilva/flit_scm";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
};
|
||||
}
|
@ -3525,6 +3525,8 @@ in {
|
||||
|
||||
flit-core = callPackage ../development/python-modules/flit-core { };
|
||||
|
||||
flit-scm = callPackage ../development/python-modules/flit-scm { };
|
||||
|
||||
flow-record = callPackage ../development/python-modules/flow-record { };
|
||||
|
||||
flower = callPackage ../development/python-modules/flower { };
|
||||
|
Loading…
Reference in New Issue
Block a user