mob next [ci-skip] [ci skip] [skip ci]
lastFile:overlays/default.nix
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
services.inventree = {
|
services.inventree = {
|
||||||
|
enable = true;
|
||||||
hostName = "localhost";
|
hostName = "localhost";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.inventree = {
|
options.services.inventree = builtins.break {
|
||||||
enable = mkEnableOption "InvenTree parts manager";
|
enable = mkEnableOption "InvenTree parts manager";
|
||||||
|
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
|
|||||||
@@ -4,13 +4,13 @@
|
|||||||
default = final: prev: import (../pkgs/overlay.nix) inputs final prev;
|
default = final: prev: import (../pkgs/overlay.nix) inputs final prev;
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem =
|
# perSystem =
|
||||||
{ system, ... }:
|
# { system, ... }:
|
||||||
{
|
# {
|
||||||
_module.args.pkgs = import inputs.nixpkgs {
|
# _module.args.pkgs = import inputs.nixpkgs {
|
||||||
inherit system;
|
# inherit system;
|
||||||
overlays = [ inputs.self.overlays.default ];
|
# overlays = [ inputs.self.overlays.default ];
|
||||||
config = { };
|
# config = { };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
buildPythonPackage,
|
|
||||||
fetchFromGitHub,
|
|
||||||
setuptools,
|
|
||||||
wheel,
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "pytest-pycodestyle";
|
|
||||||
version = "2.4.1";
|
|
||||||
pyproject = true;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "henry0312";
|
|
||||||
repo = "pytest-pycodestyle";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-kvjkpDPNhaXjMLQbrJFusRINgsyeBwkxcWm9rxkuj/Q=";
|
|
||||||
};
|
|
||||||
|
|
||||||
build-system = [
|
|
||||||
setuptools
|
|
||||||
wheel
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"pytest_pycodestyle"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Pytest plugin to run pycodestyle";
|
|
||||||
homepage = "https://github.com/henry0312/pytest-pycodestyle";
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
maintainers = with lib.maintainers; [ ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,11 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, certifi, urllib3,
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
setuptools,
|
||||||
|
wheel,
|
||||||
|
certifi,
|
||||||
|
urllib3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -14,17 +21,22 @@ buildPythonPackage rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools wheel ];
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
dependencies = [ certifi urllib3 ];
|
dependencies = [
|
||||||
|
certifi
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "sentry_sdk" ];
|
pythonImportsCheck = [ "sentry_sdk" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The official Python SDK for Sentry.io";
|
description = "The official Python SDK for Sentry.io";
|
||||||
homepage = "https://github.com/getsentry/sentry-python";
|
homepage = "https://github.com/getsentry/sentry-python";
|
||||||
changelog =
|
changelog = "https://github.com/getsentry/sentry-python/blob/${src.rev}/CHANGELOG.md";
|
||||||
"https://github.com/getsentry/sentry-python/blob/${src.rev}/CHANGELOG.md";
|
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ ];
|
maintainers = with lib.maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user