ma 5pkgs: cleanup
This commit is contained in:
parent
8f14ff2f54
commit
06a65dd592
3
makefu/5pkgs/custom/default.nix
Normal file
3
makefu/5pkgs/custom/default.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{}:
|
||||||
|
{
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchgit, libusb, libtool, autoconf, pkgconfig, git,
|
{ lib, stdenv, fetchFromGitHub, fetchgit, libusb, libtool, autoconf, pkgconfig, git,
|
||||||
gettext, automake, libxml2 , qmakeHook, makeQtWrapper,
|
gettext, automake, libxml2 , qmake,
|
||||||
qtbase, qttools, qtmultimedia, libnotify, ffmpeg, gdk_pixbuf }:
|
qtbase, qttools, qtmultimedia, libnotify, ffmpeg, gdk_pixbuf }:
|
||||||
let
|
let
|
||||||
libvitamtp = stdenv.mkDerivation rec {
|
libvitamtp = stdenv.mkDerivation rec {
|
||||||
@ -52,13 +52,14 @@ in stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ gdk_pixbuf ffmpeg libnotify libvitamtp git qtmultimedia qtbase ];
|
buildInputs = [ gdk_pixbuf ffmpeg libnotify libvitamtp git qtmultimedia qtbase ];
|
||||||
nativeBuildInputs = [ qmakeHook qttools pkgconfig makeQtWrapper ];
|
nativeBuildInputs = [ qmake qttools pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Content Manager Assistant for the PS Vita";
|
description = "Content Manager Assistant for the PS Vita";
|
||||||
homepage = https://github.com/codestation/qcma;
|
homepage = https://github.com/codestation/qcma;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
broken = true;
|
||||||
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -20,13 +20,14 @@ self: super: let
|
|||||||
(filterAttrs (_: eq "directory") (readDir path));
|
(filterAttrs (_: eq "directory") (readDir path));
|
||||||
|
|
||||||
in {
|
in {
|
||||||
alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";};
|
alsa-hdspconf = callPackage ./custom/alsa-tools { alsaToolTarget="hdspconf";};
|
||||||
alsa-hdspmixer = callPackage ./alsa-tools { alsaToolTarget="hdspmixer";};
|
alsa-hdspmixer = callPackage ./custom/alsa-tools { alsaToolTarget="hdspmixer";};
|
||||||
alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};
|
alsa-hdsploader = callPackage ./custom/alsa-tools { alsaToolTarget="hdsploader";};
|
||||||
|
qcma = super.pkgs.libsForQt5.callPackage ./custom/qcma { };
|
||||||
inherit (callPackage ./devpi {}) devpi-web devpi-server devpi-client;
|
inherit (callPackage ./devpi {}) devpi-web devpi-server devpi-client;
|
||||||
nodemcu-uploader = callPackage ./nodemcu-uploader {};
|
nodemcu-uploader = super.pkgs.callPackage ./nodemcu-uploader {};
|
||||||
pwqgen-ger = callPackage <stockholm/krebs/5pkgs/simple/passwdqc-utils> {
|
pwqgen-ger = callPackage <stockholm/krebs/5pkgs/simple/passwdqc-utils> {
|
||||||
wordset-file = pkgs.fetchurl {
|
wordset-file = super.pkgs.fetchurl {
|
||||||
url = https://gist.githubusercontent.com/makefu/b56f5554c9ef03fe6e09878962e6fd8d/raw/1f147efec51325bc9f80c823bad8381d5b7252f6/wordset_4k.c ;
|
url = https://gist.githubusercontent.com/makefu/b56f5554c9ef03fe6e09878962e6fd8d/raw/1f147efec51325bc9f80c823bad8381d5b7252f6/wordset_4k.c ;
|
||||||
sha256 = "18ddzyh11bywrhzdkzvrl7nvgp5gdb4k1s0zxbz2bkhd14vi72bb";
|
sha256 = "18ddzyh11bywrhzdkzvrl7nvgp5gdb4k1s0zxbz2bkhd14vi72bb";
|
||||||
};
|
};
|
||||||
|
50
makefu/5pkgs/dionaea/default.nix
Normal file
50
makefu/5pkgs/dionaea/default.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ stdenv, lib, pkgs, fetchurl,fetchFromGitHub,
|
||||||
|
libpcap, libdnet, libevent, readline, autoconf, automake, libtool, zlib, pcre,
|
||||||
|
libev,
|
||||||
|
... }:
|
||||||
|
let
|
||||||
|
liblcfg = stdenv.mkDerivation rec {
|
||||||
|
name = "liblcfg-${version}";
|
||||||
|
version = "750bc90";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ThomasAdam";
|
||||||
|
repo = "liblcfg";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1k3r47p81paw5802jklx9xqbjrxr26pahipxn9nq3177qhxxibkr";
|
||||||
|
};
|
||||||
|
buildInputs = with pkgs;[ autoconf automake ];
|
||||||
|
preConfigure = ''autoreconf -fi'';
|
||||||
|
sourceRoot = "${name}-src/code";
|
||||||
|
};
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "liblcfg-${version}";
|
||||||
|
|
||||||
|
#version = "1.5c"; #original, does not compile due to libc errors
|
||||||
|
#src = fetchurl {
|
||||||
|
# url = "http://www.honeyd.org/uploads/honeyd-${version}.tar.gz";
|
||||||
|
# sha256 = "0vcih16fk5pir5ssfil8x79nvi62faw0xvk8s5klnysv111db1ii";
|
||||||
|
#};
|
||||||
|
|
||||||
|
#version = "64d087c"; # honeyd-1.6.7
|
||||||
|
# sha256 = "0zhnn13r24y1q494xcfx64vyp84zqk8qmsl41fq2674230bn0p31";
|
||||||
|
|
||||||
|
version = "6756787f94c4f1ac53d1e5545d052774a0446c04";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rep";
|
||||||
|
repo = "dionaea";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "04zjr9b7x0rqwzgb9gfxq6pclb817gz4qaghdl8xa79bqf9vv2p7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with pkgs;[ libtool automake autoconf ];
|
||||||
|
configureFlags = [
|
||||||
|
"--with-liblcfg=${liblcfg}"
|
||||||
|
"--with-libpcap=${libpcap}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.honeyd.org/;
|
||||||
|
description = "virtual Honeypots";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
zlib
|
zlib
|
||||||
coreutils
|
coreutils
|
||||||
python
|
python
|
||||||
pythonPackages.sqlite3
|
pythonPackages.pysqlite
|
||||||
];
|
];
|
||||||
patches = [
|
patches = [
|
||||||
( fetchurl {
|
( fetchurl {
|
||||||
|
30
makefu/5pkgs/libopencm3/default.nix
Normal file
30
makefu/5pkgs/libopencm3/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, gcc-arm-embedded, python }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libopencm-${version}";
|
||||||
|
version = "2017-04-01";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "libopencm3";
|
||||||
|
repo = "libopencm3";
|
||||||
|
rev = "383fafc862c0d47f30965f00409d03a328049278";
|
||||||
|
sha256 = "0ar67icxl39cf7yb5glx3zd5413vcs7zp1jq0gzv1napvmrv3jv9";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ gcc-arm-embedded python ];
|
||||||
|
buildPhase = ''
|
||||||
|
sed -i 's#/usr/bin/env python#${python}/bin/python#' ./scripts/irq2nvic_h
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r lib $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Open Source ARM cortex m microcontroller library";
|
||||||
|
homepage = https://github.com/libopencm3/libopencm3;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
32
makefu/5pkgs/logstash-output-exec/default.nix
Normal file
32
makefu/5pkgs/logstash-output-exec/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ pkgs, stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: requires ftw ruby package
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "logstash-input-github-${version}";
|
||||||
|
version = "3.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "logstash-plugins";
|
||||||
|
repo = "logstash-output-exec";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0ix5w9l6hrbjaymkh7fzymjvpkiias3hs0l77zdpcwdaa6cz53nf";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
dontPatchELF = true;
|
||||||
|
dontStrip = true;
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/logstash
|
||||||
|
cp -r lib/* $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "logstash output plugin";
|
||||||
|
homepage = https://github.com/logstash-plugins/logstash-output-exec;
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
maintainers = with maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
20
makefu/5pkgs/mcomix/default.nix
Normal file
20
makefu/5pkgs/mcomix/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ pkgs, lib ,python2Packages, fetchurl, gtk3}:
|
||||||
|
python2Packages.buildPythonPackage rec {
|
||||||
|
name = "mcomix-${version}";
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/mcomix/${name}.tar.bz2";
|
||||||
|
sha256 = "0fzsf9pklhfs1rzwzj64c0v30b74nk94p93h371rpg45qnfiahvy";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python2Packages;
|
||||||
|
[ python2Packages.pygtk gtk3 python2Packages.pillow ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/pyload/pyload;
|
||||||
|
description = "Free and Open Source download manager written in Python";
|
||||||
|
license = lib.licenses.gpl3;
|
||||||
|
maintainers = with lib.maintainers; [ makefu ];
|
||||||
|
};
|
||||||
|
}
|
12
makefu/5pkgs/minibar/default.nix
Normal file
12
makefu/5pkgs/minibar/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ lib, pkgs, fetchFromGitHub, ... }:
|
||||||
|
|
||||||
|
with pkgs.python3Packages;buildPythonPackage rec {
|
||||||
|
name = "minibar-${version}";
|
||||||
|
version = "0.5.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "canassa";
|
||||||
|
repo = "minibar";
|
||||||
|
rev = "c8ecd61";
|
||||||
|
sha256 = "1k718zrjd11rw93nmz2wxvhvsai6lwqfblnwjpmkpnslcdan7641";
|
||||||
|
};
|
||||||
|
}
|
17
makefu/5pkgs/nltk/default.nix
Normal file
17
makefu/5pkgs/nltk/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ lib, pkgs, fetchFromGitHub, ... }:
|
||||||
|
|
||||||
|
with pkgs.pythonPackages;buildPythonPackage rec {
|
||||||
|
name = "nltk-${version}";
|
||||||
|
version = "3.2.1";
|
||||||
|
src = pkgs.fetchurl{
|
||||||
|
#url = "mirror://pypi/n/${name}.tar.gz";
|
||||||
|
url = "https://pypi.python.org/packages/58/85/8fa6f8c488507aab7d6234ce754bbbe61bfeb8382489785e2d764bf8f52a/${name}.tar.gz";
|
||||||
|
sha256 = "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym";
|
||||||
|
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
homepage = http://nltk.org;
|
||||||
|
description = "Natural languages Toolkit";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
p = stdenv.lib.makeBinPath [ pkgs.nettools pkgs.python27Packages.websockify
|
p = stdenv.lib.makeBinPath [ pkgs.nettools pkgs.python27Packages.websockify
|
||||||
pkgs.coreutils pkgs.which pkgs.procps ];
|
pkgs.coreutils pkgs.which pkgs.procps ];
|
||||||
# TODO: propagatedBuildInputs does not seem to work with shell scripts
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i '1aset -efu\nexport PATH=${p}\n' utils/launch.sh
|
sed -i '1aset -efu\nexport PATH=${p}\n' utils/launch.sh
|
||||||
'';
|
'';
|
||||||
|
12
makefu/5pkgs/programs-db/default.nix
Normal file
12
makefu/5pkgs/programs-db/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ stdenv }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "programs-db";
|
||||||
|
src = builtins.fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz ;
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
installPhase = ''
|
||||||
|
cp programs.sqlite $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user