summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/shell.nix7
-rw-r--r--nixos/vlc-nightly.nix13
2 files changed, 20 insertions, 0 deletions
diff --git a/nixos/shell.nix b/nixos/shell.nix
new file mode 100644
index 0000000..25fe51a
--- /dev/null
+++ b/nixos/shell.nix
@@ -0,0 +1,7 @@
+{ nixpkgs ? <nixpkgs>, ...}:
+
+with import nixpkgs {};
+
+{
+ vlc-nightly = callPackage ./vlc-nightly.nix {};
+}
diff --git a/nixos/vlc-nightly.nix b/nixos/vlc-nightly.nix
new file mode 100644
index 0000000..6ae95b4
--- /dev/null
+++ b/nixos/vlc-nightly.nix
@@ -0,0 +1,13 @@
+{vlc, autoconf, automake, libtool, stdenv, fetchurl, gettext, m4}:
+
+with stdenv.lib;
+
+vlc.overrideDerivation (o: rec {
+ buildInputs = [autoconf automake libtool gettext m4] ++ o.buildInputs;
+ version = "3.0.0-20161224-0237";
+ preConfigure = ''export BUILDCC=gcc; libtoolize && ./bootstrap; '' + o.preConfigure;
+ src = fetchurl {
+ url = "https://nightlies.videolan.org/build/source/vlc-${version}-git.tar.xz";
+ sha256 = "0hbn2psqpr4cg9hhphdn4sqm7k5syfi7yflhf9ag33cl7zrqd83x";
+ };
+})