Compare commits

..

No commits in common. "2ae64180377552da8188fa7d4aec4526262f99c4" and "72d323ca0410a08abc2d981b812c5cd0fd3338bf" have entirely different histories.

9 changed files with 145 additions and 40 deletions

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "VisiCut"; pname = "VisiCut";
version = "1.9-155-gb4085751"; version = "1.9-94-g8b1c96b7";
src = fetchzip { src = fetchzip {
url = "https://download.visicut.org/files/master/All/${pname}-${version}.zip"; url = "https://download.visicut.org/files/master/All/${pname}-${version}.zip";
sha256 = "sha256-vN537qrFmc3RG6e/ulm8AzVBNjmmmL/mmJUd5zhXpi4="; sha256 = "12xkysh66vcv17dffn9ybqk85lzxy4rqswxv4jwr0b1fwajfvd96";
}; };
nativeBuildInputs = [ makeWrapper wrapGAppsHook ]; nativeBuildInputs = [ makeWrapper wrapGAppsHook ];

40
deemix/default.nix Normal file
View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, click
, deezer-py
, eventlet
, mutagen
, pycryptodomex
, requests
, spotipy
}:
buildPythonPackage rec {
pname = "deemix";
version = "3.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cSLjbowG98pbEzGB17Rkhli90xeOyzOcEglXb5SeNJE=";
};
propagatedBuildInputs = [
click
deezer-py
mutagen
pycryptodomex
requests
spotipy
];
doCheck = false; # error: protocol not found
meta = with lib; {
description = "A python library that lets you download millions of songs, soundtracks, albums in high-quality mp3 and FLAC";
homepage = "https://deemix.app/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}

View file

@ -8,6 +8,8 @@ in
python3 = prev.python3.override { python3 = prev.python3.override {
packageOverrides = final: prev: packageOverrides = final: prev:
{ {
deezer-py = callPythonPackage ./python-modules/deezer-py { };
enlighten = callPythonPackage ./python-modules/enlighten { }; enlighten = callPythonPackage ./python-modules/enlighten { };
prefixed = callPythonPackage ./python-modules/prefixed { }; prefixed = callPythonPackage ./python-modules/prefixed { };
@ -17,6 +19,7 @@ in
colorchord2 = callPackage ./colorchord2 { }; colorchord2 = callPackage ./colorchord2 { };
deemix = callPythonPackage ./deemix { };
fSpy = callPackage ./fSpy { }; fSpy = callPackage ./fSpy { };
@ -26,8 +29,6 @@ in
hcloud_exporter = callPackage ./hcloud_exporter { }; hcloud_exporter = callPackage ./hcloud_exporter { };
linuxmotehook2 = callPackage ./linuxmotehook2 { };
mpvScripts = prev.mpvScripts // { mpvScripts = prev.mpvScripts // {
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { }; pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
}; };
@ -38,9 +39,13 @@ in
playgsf = callPackage ./playgsf { }; playgsf = callPackage ./playgsf { };
snownews = callPackage ./snownews { };
textidote = callPackage ./textidote { }; textidote = callPackage ./textidote { };
unxwb = callPackage ./unxwb { }; unxwb = callPackage ./unxwb { };
vgmstream = callPackage ./vgmstream { };
VisiCut = callPackage ./VisiCut { }; VisiCut = callPackage ./VisiCut { };
} }

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1623875721,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "rev": "f7e004a55b120c02ecb6219596820fcd32ca8772",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1667569243, "lastModified": 1624971177,
"narHash": "sha256-oJ9zVRE6EFa6Pgh0ZWPAbtDrVu1mxp9lH88LZH6MlfQ=", "narHash": "sha256-Amf/nBj1E77RmbSSmV+hg6YOpR+rddCbbVgo5C7BS0I=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "3eb97d920682777005930ebe01797dc54b1ccb32", "rev": "397f0713d007250a2c7a745e555fa16c5dc8cadb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -41,11 +41,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1667379994, "lastModified": 1628144860,
"narHash": "sha256-PFOg8WHqfKXsIGZtEC0aB+rl8SB1cXvA01ytIudnRh8=", "narHash": "sha256-cEBTjXuZVHCeCnQaZILI7mAiCWwX9nJ4dkup64zu8Lc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a704b9029586266f63807f64a6718f1a65b0f83b", "rev": "6dc0549183672acd39d735a465098ca9deeff6ad",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -48,16 +48,18 @@
inherit (pkgs) inherit (pkgs)
VisiCut VisiCut
colorchord2 colorchord2
deemix
fSpy fSpy
face_morpher face_morpher
gust_tools gust_tools
hcloud_exporter hcloud_exporter
linuxmotehook2
netstick netstick
nsz nsz
playgsf playgsf
snownews
textidote textidote
unxwb; unxwb
vgmstream;
mpvScripts = lib.recurseIntoAttrs { mpvScripts = lib.recurseIntoAttrs {
inherit (pkgs.mpvScripts) inherit (pkgs.mpvScripts)

View file

@ -1,25 +0,0 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, vala, glib, libgee, systemd }:
stdenv.mkDerivation rec {
pname = "linuxmotehook2";
version = "0.1.4";
src = fetchFromGitHub {
owner = "v1993";
repo = pname;
rev = "v${version}";
sha256 = "sha256-uJ+dHA2D/Mt74H76L5+ZP78uYejudxjQK3xkUpaLDkI=";
fetchSubmodules = true;
};
nativeBuildInputs = [ meson ninja pkg-config vala ];
buildInputs = [ glib libgee systemd.dev ];
meta = with lib; {
description = "Cemuhook UDP server for WiiMotes on Linux";
homepage = "https://github.com/v1993/linuxmotehook2";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, eventlet
}:
buildPythonPackage rec {
pname = "deezer-py";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-FdLSJFALeGcecLAHk9khJTKlMd3Mec/w/PGQOHqxYMQ=";
};
propagatedBuildInputs = [
requests
];
doCheck = false; # OSError: protocol not found
meta = with lib; {
description = "A python wrapper for all Deezers APIs";
homepage = "https://gitlab.com/RemixDev/deezer-py";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}

24
snownews/default.nix Normal file
View file

@ -0,0 +1,24 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, which, curl, gettext, libxml2, ncurses, openssl }:
stdenv.mkDerivation rec {
pname = "snownews";
version = "unstable-2021-06-05";
src = fetchFromGitHub {
owner = "msharov";
repo = pname;
rev = "0c0bce7d59fa4fc6d66b4472682d7afcec59c9fb";
sha256 = "1cp0igx433vwbrh1igc9vr1xbfnfwn0312dnhfvbciqk0ss5wij7";
};
nativeBuildInputs = [ pkg-config which ];
buildInputs = [ curl gettext libxml2 ncurses openssl ];
meta = with lib; {
description = "A text-mode RSS feed reader";
homepage = "https://github.com/msharov/snownews";
license = licenses.gpl3Only;
maintainers = with maintainers; [ sbruder ];
platforms = platforms.unix;
};
}

29
vgmstream/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fdk_aac, ffmpeg, jansson, libao, libvorbis, mpg123 }:
stdenv.mkDerivation rec {
pname = "vgmstream";
version = "r1626";
src = fetchFromGitHub {
owner = "vgmstream";
repo = "vgmstream";
rev = version;
sha256 = "sha256-PdG+nkr8f/kVJpJGDvfMv7cEnYFw0dikzIMEGvm/dGQ=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ fdk_aac ffmpeg jansson libao libvorbis mpg123 ];
cmakeFlags = [
"-DBUILD_AUDACIOUS=OFF"
"-DVGMSTREAM_VERSION=${version}"
];
meta = with lib; {
description = "A library for playback of various streamed audio formats used in video games";
homepage = "https://vgmstream.org/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}