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