mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
alienfx: remove package
Upstream is gone
This commit is contained in:
parent
d04d1c65bb
commit
f85826a2ad
4 changed files with 1 additions and 53 deletions
|
@ -1,39 +0,0 @@
|
|||
{ stdenv, libusb1, fetchgit}:
|
||||
|
||||
|
||||
let
|
||||
rev = "85ee5eeaca59a1c92659c3f49b148b0447d78f16";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "alienfx-1.0.0";
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = https://github.com/tibz/alienfx.git;
|
||||
|
||||
sha256 = "47501a3b4e08d39edee4cd829ae24259a7e740b9798db76b846fa872989f8fb1";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile --replace /usr/ $out/
|
||||
substituteInPlace Makefile --replace "install -o root -g root -m 4755" "install -m 555"
|
||||
'';
|
||||
|
||||
patches = [./unistd.patch];
|
||||
buildInputs = [ libusb1 ];
|
||||
makeFlags = "build";
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/man/man1
|
||||
'';
|
||||
installTargets = "install";
|
||||
postInstall = ''cp alienfx.1 $out/man/man1'';
|
||||
|
||||
meta = {
|
||||
description = "Controls AlienFX lighting";
|
||||
homepage = https://github.com/tibz/alienfx;
|
||||
maintainers = [stdenv.lib.maintainers.tomberek];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff --git a/alienfx.cpp b/alienfx.cpp
|
||||
index 5981039..aea8992 100644
|
||||
--- a/alienfx.cpp
|
||||
+++ b/alienfx.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
#include <libusb-1.0/libusb.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
using namespace std;
|
||||
|
|
@ -40,6 +40,7 @@ mapAliases ({
|
|||
adobe_flex_sdk = apache-flex-sdk; # added 2018-06-01
|
||||
ag = silver-searcher; # added 2018-04-25
|
||||
aircrackng = aircrack-ng; # added 2016-01-14
|
||||
alienfx = throw "alienfx has been removed."; # added 2019-12-08
|
||||
ammonite-repl = ammonite; # added 2017-05-02
|
||||
arduino_core = arduino-core; # added 2015-02-04
|
||||
asciidocFull = asciidoc-full; # added 2014-06-22
|
||||
|
|
|
@ -15806,8 +15806,6 @@ in
|
|||
|
||||
alfred = callPackage ../os-specific/linux/batman-adv/alfred.nix { };
|
||||
|
||||
alienfx = callPackage ../os-specific/linux/alienfx { };
|
||||
|
||||
alsa-firmware = callPackage ../os-specific/linux/alsa-firmware { };
|
||||
|
||||
alsaLib = callPackage ../os-specific/linux/alsa-lib { };
|
||||
|
|
Loading…
Reference in a new issue