1 Commits

Author SHA1 Message Date
github-actions[bot]
02b3462301 flake: update inputs
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b' (2024-11-13)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0aeab749216e4c073cece5d34bc01b79e717c3e0' (2024-07-02)
  → 'github:NixOS/nixpkgs/929116e316068c7318c54eb4d827f7d9756d5e9c' (2024-12-05)
2024-12-08 19:54:31 +00:00
11 changed files with 13 additions and 27 deletions

View File

@@ -2,9 +2,7 @@
**My personal [NUR](https://github.com/nix-community/NUR) repository** **My personal [NUR](https://github.com/nix-community/NUR) repository**
[![Gitea Action](https://git.xeal.me/xeals/nur-packages/actions/workflows/build.yml/badge.svg)](https://git.xeals.me/xeals/nur-packages/actions) [CI](https://git.xeals.me/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
[![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
## Using ## Using

6
flake.lock generated
View File

@@ -20,11 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1765425892, "lastModified": 1733376361,
"narHash": "sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo=", "narHash": "sha256-aLJxoTDDSqB+/3orsulE6/qdlX6MzDLIITLZqdgMpqo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5d6bdbddb4695a62f0d00a3620b37a15275a5093", "rev": "929116e316068c7318c54eb4d827f7d9756d5e9c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -18,8 +18,6 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = [ mopidy python3Packages.py-sonic ]; propagatedBuildInputs = [ mopidy python3Packages.py-sonic ];
format = "setuptools";
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {

View File

@@ -20,8 +20,6 @@ python3Packages.buildPythonApplication rec {
pyyaml pyyaml
]; ];
format = "setuptools";
patchPhase = '' patchPhase = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace PROJECTVERSION "${version}" --replace PROJECTVERSION "${version}"

View File

@@ -3,7 +3,6 @@
, fetchFromGitHub , fetchFromGitHub
, python3 , python3
, beets , beets
, wrapGAppsHook3
}: }:
let let
@@ -47,9 +46,6 @@ python3.pkgs.buildPythonApplication {
sed -i 's/Flask <3.0.0/Flask/' pyproject.toml sed -i 's/Flask <3.0.0/Flask/' pyproject.toml
''; '';
# required for apprise
nativeBuildInputs = [ wrapGAppsHook3 ];
build-system = with python3.pkgs; [ setuptools ]; build-system = with python3.pkgs; [ setuptools ];
dependencies = (with python3.pkgs; [ dependencies = (with python3.pkgs; [

View File

@@ -33,7 +33,7 @@ let
fi fi
args+=("$a") args+=("$a")
done done
QT_QPA_PLATFORM=xcb exec "${cura5}/bin/cura5" "''${args[@]}" exec "${cura5}/bin/cura5" "''${args[@]}"
''; '';
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@@ -9,7 +9,7 @@ from dataclasses import dataclass, fields as datafields
from enum import Enum, unique from enum import Enum, unique
from typing import List, Optional from typing import List, Optional
APIBASE = "https://api.porkbun.com/api/json/v3/dns" APIBASE = "https://porkbun.com/api/json/v3/dns"
def dataclass_from_dict(klass: object, d: dict): def dataclass_from_dict(klass: object, d: dict):

View File

@@ -3,7 +3,7 @@
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, alsa-lib , alsaLib
, dbus , dbus
, openssl , openssl
@@ -23,7 +23,6 @@ assert withGui -> gtk3.meta.available;
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "psst"; pname = "psst";
version = "20221012.d70ed81"; version = "20221012.d70ed81";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jpochyla"; owner = "jpochyla";
repo = "psst"; repo = "psst";
@@ -31,12 +30,12 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-ZKhHN0ruLb6ZVKkrKv/YawRsVop6SP1QF/nrtkmA8P8="; hash = "sha256-ZKhHN0ruLb6ZVKkrKv/YawRsVop6SP1QF/nrtkmA8P8=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoHash = "sha256-my15AXG9LLmdqZLqXdeZ81VLv+GbSMgNtuFAlYTEUvQ="; cargoSha256 = "sha256-zH6+EV78FDVOYEFXk0f54pH2Su0QpK1I0bHqzIiMdBo=";
nativeBuildInputs = [ pkg-config ] nativeBuildInputs = [ pkg-config ]
++ optional withGui copyDesktopItems; ++ optional withGui copyDesktopItems;
buildInputs = [ alsa-lib dbus openssl ] buildInputs = [ alsaLib dbus openssl ]
++ optional withGui gtk3; ++ optional withGui gtk3;
cargoBuildFlags = optionals (!withGui) [ cargoBuildFlags = optionals (!withGui) [

View File

@@ -6,6 +6,8 @@
, aacSupport ? false , aacSupport ? false
, faac , faac
, alacSupport ? false
, libav
, flacSupport ? false , flacSupport ? false
, flac , flac
, m4aSupport ? false , m4aSupport ? false
@@ -18,6 +20,7 @@
}: }:
assert aacSupport -> faac.meta.available; assert aacSupport -> faac.meta.available;
assert alacSupport -> libav.meta.available;
assert flacSupport -> flac.meta.available; assert flacSupport -> flac.meta.available;
assert m4aSupport || mp4Support -> fdk-aac-encoder.meta.available; assert m4aSupport || mp4Support -> fdk-aac-encoder.meta.available;
assert oggSupport -> vorbis-tools.meta.available; assert oggSupport -> vorbis-tools.meta.available;
@@ -45,14 +48,13 @@ python3Packages.buildPythonApplication rec {
]) ++ [ ]) ++ [
lame lame
(if flacSupport then flac else null) (if flacSupport then flac else null)
(if alacSupport then libav else null)
(if aacSupport then faac else null) (if aacSupport then faac else null)
(if (m4aSupport || mp4Support) then fdk-aac-encoder else null) (if (m4aSupport || mp4Support) then fdk-aac-encoder else null)
(if oggSupport then vorbis-tools else null) (if oggSupport then vorbis-tools else null)
(if opusSupport then opusTools else null) (if opusSupport then opusTools else null)
]; ];
format = "setuptools";
# Remove impure executables. # Remove impure executables.
patches = [ ./fix-setup.patch ]; patches = [ ./fix-setup.patch ];

View File

@@ -24,9 +24,6 @@ buildDotnetModule rec {
mv $out/bin/TheAirBlow.Thor.Shell $out/bin/thor mv $out/bin/TheAirBlow.Thor.Shell $out/bin/thor
''; '';
# dotnet7 is unsupported but it still runs fine; just don't build it in CI.
# https://github.com/Samsung-Loki/Thor/issues/23
preferLocalBuild = true;
meta = { meta = {
homepage = "https://github.com/Samsung-Loki/Thor"; homepage = "https://github.com/Samsung-Loki/Thor";
description = "An alternative to Heimdall"; description = "An alternative to Heimdall";

View File

@@ -12,8 +12,6 @@ buildPythonPackage rec {
sha256 = "0wh2phg8h02a6vlpqd0widd6g8ng142vzmk8hpyx0bnwn2i45sjc"; sha256 = "0wh2phg8h02a6vlpqd0widd6g8ng142vzmk8hpyx0bnwn2i45sjc";
}; };
format = "setuptools";
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {