From e971a641bd3b9dafaff38821e8c4d741c5f4f900 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 May 2017 11:33:35 +0200 Subject: m 5 alsa-tools: gtk -> gtk3 --- makefu/5pkgs/alsa-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/alsa-tools/default.nix b/makefu/5pkgs/alsa-tools/default.nix index 9a672f048..5134c10ec 100644 --- a/makefu/5pkgs/alsa-tools/default.nix +++ b/makefu/5pkgs/alsa-tools/default.nix @@ -1,4 +1,4 @@ -{stdenv,alsaToolTarget,fetchurl, alsaLib, ncurses, fltk13, gtk}: +{stdenv,alsaToolTarget,fetchurl, alsaLib, ncurses, fltk13, gtk3}: stdenv.mkDerivation rec { name = "alsa-${alsaToolTarget}-${version}"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { sha256 = "1lgvyb81md25s9ciswpdsbibmx9s030kvyylf0673w3kbamz1awl"; }; sourceRoot = "${alsaToolsName}/${alsaToolTarget}/"; - buildInputs = [ alsaLib fltk13 gtk ncurses ]; + buildInputs = [ alsaLib fltk13 gtk3 ncurses ]; meta = { homepage = http://www.alsa-project.org/; -- cgit v1.2.3 From 4c2408763eec98ec9cecf340dccfffa34a0c3cb0 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 May 2017 11:35:35 +0200 Subject: m: init and use 'makefu.gui.user' --- makefu/5pkgs/novnc/default.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 makefu/5pkgs/novnc/default.nix (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/novnc/default.nix b/makefu/5pkgs/novnc/default.nix new file mode 100644 index 000000000..b1d62248d --- /dev/null +++ b/makefu/5pkgs/novnc/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchurl, pkgs }: +# source: https://github.com/hyphon81/Nixtack/blob/master/noVNC/noVNC.nix +let +in + +stdenv.mkDerivation rec { + name = "novnc-${version}"; + version = "0.6.2"; + + src = fetchurl { + url = "https://github.com/novnc/noVNC/archive/v${version}.tar.gz"; + sha256 = "16ygbdzdmnfg9a26d9il4a6fr16qmq0ix9imfbpzl0drfbj7z8kh"; + }; + p = stdenv.lib.makeBinPath [ pkgs.nettools pkgs.python27Packages.websockify + pkgs.coreutils pkgs.which pkgs.procps ]; + # TODO: propagatedBuildInputs does not seem to work with shell scripts + patchPhase = '' + sed -i '1aset -efu\nexport PATH=${p}\n' utils/launch.sh + ''; + installPhase = '' + mkdir -p $out/bin + cp utils/launch.sh $out/bin/launch-novnc.sh + chmod +x $out/bin/launch-novnc.sh + mkdir -p $out/images + cp -r images/* $out/images/ + mkdir -p $out/include + cp -r include/* $out/include/ + cp favicon.ico $out + cp vnc.html $out + cp vnc_auto.html $out + ''; + + meta = with stdenv.lib; { + homepage = http://novnc.com/info.html; + repositories.git = git://github.com/novnc/noVNC.git; + description = '' + A HTML5 VNC Client + ''; + license = licenses.mpl20; + }; +} -- cgit v1.2.3 From 5c7a36ab51fbfe89ddc76f979fbab9cd0f40e664 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 May 2017 11:36:11 +0200 Subject: m 5 shackie: init --- makefu/5pkgs/shackie/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 makefu/5pkgs/shackie/default.nix (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/shackie/default.nix b/makefu/5pkgs/shackie/default.nix new file mode 100644 index 000000000..ce926fcd6 --- /dev/null +++ b/makefu/5pkgs/shackie/default.nix @@ -0,0 +1,33 @@ +{ pkgs, fetchFromGitHub, ... }: +with pkgs.python3Packages; +let + asyncio-irc = buildPythonPackage rec { + name = "asyncio-irc-${version}"; + version = "2016-09-02"; + src = fetchFromGitHub { + owner = "watchtower"; + repo = "asyncirc"; + rev = "5384d19"; + sha256 = "0xgzdvp0ig0im7r3vbqd3a9rzac0lkk2mvf7y4fw56p8k61df8nv"; + }; + propagatedBuildInputs = [ blinker ]; + }; +in +buildPythonPackage rec { + name = "shackie-${version}"; + version = "2017-04-24"; + propagatedBuildInputs = [ + asyncio-irc + beautifulsoup4 + lxml + pytz + redis + requests2 + ]; + src = fetchFromGitHub { + owner = "shackspace"; + repo = "shackie"; + rev = "e717ec7"; + sha256 = "1ffbjm3x2xcyxl42hfsjs5xg1pm0xsprdi5if9zxa5ycqydmiw3l"; + }; +} -- cgit v1.2.3 From aa7fc6786d5195babca6aaefbd0509a87e474add Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 May 2017 17:52:37 +0200 Subject: m: requests2 -> requests --- makefu/5pkgs/acdcli/default.nix | 2 +- makefu/5pkgs/bintray-upload/default.nix | 2 +- makefu/5pkgs/devpi/default.nix | 2 +- makefu/5pkgs/elchhub/default.nix | 2 +- makefu/5pkgs/shackie/default.nix | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/acdcli/default.nix b/makefu/5pkgs/acdcli/default.nix index 6442fecbf..13b19e482 100644 --- a/makefu/5pkgs/acdcli/default.nix +++ b/makefu/5pkgs/acdcli/default.nix @@ -4,7 +4,7 @@ with python3Packages; buildPythonPackage rec { name = "acdcli-${version}"; version = "0.3.2"; propagatedBuildInputs = [ - dateutil colorama fusepy appdirs requests2 requests_toolbelt six + dateutil colorama fusepy appdirs requests requests_toolbelt six ]; src = fetchurl { url = "mirror://pypi/a/acdcli/${name}.tar.gz"; diff --git a/makefu/5pkgs/bintray-upload/default.nix b/makefu/5pkgs/bintray-upload/default.nix index 1e9582cca..099b8ca88 100644 --- a/makefu/5pkgs/bintray-upload/default.nix +++ b/makefu/5pkgs/bintray-upload/default.nix @@ -10,7 +10,7 @@ pkgs.python3Packages.buildPythonPackage rec { sha256 = "1401saisk98n5wgw73nwh8hb484vayw5c6dlypxc1fp4ybym4zi9"; }; - propagatedBuildInputs = with pkgs.python3Packages; [ requests2 ]; + propagatedBuildInputs = with pkgs.python3Packages; [ requests ]; meta = { description = "Simple BinTray utility for uploading packages"; diff --git a/makefu/5pkgs/devpi/default.nix b/makefu/5pkgs/devpi/default.nix index 020b2fdc2..e7c26da55 100644 --- a/makefu/5pkgs/devpi/default.nix +++ b/makefu/5pkgs/devpi/default.nix @@ -56,7 +56,7 @@ let sha256 = "0l3a7iyk596x6pvzg7604lzzi012qszr804fqn6f517zcy1xz23j"; }; - propagatedBuildInputs = with pkgs.python3Packages; [ requests2 py ]; + propagatedBuildInputs = with pkgs.python3Packages; [ requests py ]; meta = { homepage = https://bitbucket.org/hpk42/devpi; diff --git a/makefu/5pkgs/elchhub/default.nix b/makefu/5pkgs/elchhub/default.nix index a28267cb1..76ba834ab 100644 --- a/makefu/5pkgs/elchhub/default.nix +++ b/makefu/5pkgs/elchhub/default.nix @@ -16,7 +16,7 @@ in buildPythonPackage rec { version = "1.0.5"; propagatedBuildInputs = [ flask - requests2 + requests ftputil redis ]; diff --git a/makefu/5pkgs/shackie/default.nix b/makefu/5pkgs/shackie/default.nix index ce926fcd6..b6cf8afe6 100644 --- a/makefu/5pkgs/shackie/default.nix +++ b/makefu/5pkgs/shackie/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { lxml pytz redis - requests2 + requests ]; src = fetchFromGitHub { owner = "shackspace"; -- cgit v1.2.3