about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-04T15·10+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-04T15·10+0200
commit01aed568e561f072eeeb9df4c608ce2271e77912 (patch)
tree1f0b607ac4f7f8a4fdf5f7dab0ba03f2be72676c /pkgs
parent2a6d57e97b04d2e987f317d43389c2cf398df20e (diff)
feat: Update to NixOS 18.03
As the subject says ...

This only includes some minor changes in configuration. Most
interestingly several packages that I used to have in this repository
as custom packages are now available in `nixos-unstable`.

Unfortunately they weren't included in NixOS 18.03 though ...

Either way, this is cleaner.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/gopass-bin.nix25
-rw-r--r--pkgs/mq-cli.nix35
-rw-r--r--pkgs/nixfd.nix28
-rw-r--r--pkgs/stern-bin.nix25
-rw-r--r--pkgs/terraform-bin.nix26
-rw-r--r--pkgs/wallpapers.nix5
6 files changed, 3 insertions, 141 deletions
diff --git a/pkgs/gopass-bin.nix b/pkgs/gopass-bin.nix
deleted file mode 100644
index 30705726e86a..000000000000
--- a/pkgs/gopass-bin.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ pkgs ? import <nixpkgs> {} }:
-
-with pkgs; stdenv.mkDerivation rec {
-  name = "gopass-bin-${version}";
-  version = "1.6.1";
-
-  src = fetchzip {
-    url = "https://github.com/justwatchcom/gopass/releases/download/v${version}/gopass-${version}-linux-386.tar.gz";
-    sha256 = "06iif74akcfb8n1h3ggig56a8y854p4dc7dpxpdfy6w9ra514phq";
-  };
-
-  phases = "installPhase";
-  installPhase = ''
-    mkdir -p $out/bin $out/share/fish/completions
-    cp $src/fish.completion $out/share/fish/completions/gopass.fish
-    cp $src/gopass $out/bin/gopass
-    chmod +x $out/bin/gopass
-  '';
-
-  meta = with stdenv.lib; {
-    description = "password-store like password manager with team functionality";
-    license     = licenses.mit;
-    homepage    = "https://github.com/justwatchcom/gopass";
-  };
-}
diff --git a/pkgs/mq-cli.nix b/pkgs/mq-cli.nix
deleted file mode 100644
index c007b9b479be..000000000000
--- a/pkgs/mq-cli.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-# Build and install mq-cli.
-
-with import <nixpkgs> {};
-
-let
-  # The cached Cargo registry moves *very* slowly, override it:
-  newRegistry = rustRegistry.overrideAttrs (oldAttrs: rec {
-    name = "rustRegistry-2017-10-20";
-    src = fetchFromGitHub {
-      owner  = "rust-lang";
-      repo   = "crates.io-index";
-      rev    = "a1e85af8f57ba61e505c2cb2dc359b66caf355e9";
-      sha256 = "0xcszw287kqlz15ikflsim36mrvpvlb2y074vg22szz0r48nn06v";
-    };
-  });
-in rustPlatform.buildRustPackage rec {
-  name = "mqcli-${version}";
-  version = "0.1.0";
-
-  rustRegistry = newRegistry;
-  depsSha256 = "138a4dgwhf78bnmxz2ibxqz1wifq5046czxd0w8a4gwngy2ryiqs";
-
-  src = fetchFromGitHub {
-    owner  = "aprilabank";
-    repo   = "mq-cli";
-    rev    = "d908fe1cbc7de0bff7cadbe0b3851d50229b7de2";
-    sha256 = "0c4myav65dzks53q4grin9lhcz1jzpddqnihf2h9lm098dhrswkp";
-  };
-
-  meta = with stdenv.lib; {
-    description = "CLI interface to POSIX message queues";
-    homepage    = https://github.com/aprilabank/mq-cli;
-    license     = licenses.mit;
-  };
-}
diff --git a/pkgs/nixfd.nix b/pkgs/nixfd.nix
deleted file mode 100644
index 71e6ff82e9ef..000000000000
--- a/pkgs/nixfd.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-with import <nixpkgs> {};
-
-# Build and install my nixfd tool.
-with rustPlatform;
-
-buildRustPackage rec {
-  name = "nixfd-${version}";
-  version = "0.1.0";
-
-  # This hash is of course total bullshit due to the dummy libc dependency
-  # caused by:
-  # https://github.com/NixOS/nixpkgs/issues/22737
-  depsSha256 = "0iihnyq50qbq0fkvcj5jxilcw7d3bwd1x3gwcq0mzrcah23say0j";
-
-  src = fetchFromGitHub {
-    owner = "tazjin";
-    repo = "nixfd";
-    rev = "dbadc9ef8486070f26677154fa032a47d732b7a9";
-    sha256 = "162301lc4znlqbansmaw9sla1rwi2s5nfmhl3z752n6aj2gcvz89";
-  };
-
-  meta = with stdenv.lib; {
-    description = "Tired of waiting for nix-env -qaP?";
-    homepage = https://github.com/tazjin/nixfd;
-    license = licenses.mit;
-    platforms = platforms.all;
-  };
-}
diff --git a/pkgs/stern-bin.nix b/pkgs/stern-bin.nix
deleted file mode 100644
index 27cadcb510ed..000000000000
--- a/pkgs/stern-bin.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-with import <nixpkgs> {};
-
-stdenv.mkDerivation rec {
-  name = "stern-${version}";
-  version = "1.5.1";
-
-  src = fetchurl {
-    url = "https://github.com/wercker/stern/releases/download/${version}/stern_linux_amd64";
-    sha256 = "0xjxhgi1mlkbqimf0fk5cxr6lvwxrr2z49bnw4b1vqpd1gdqjyiv";
-    name = "stern";
-  };
-
-  phases = "installPhase";
-  installPhase = ''
-    mkdir -p $out/bin
-    cp $src $out/bin/stern
-    chmod +x $out/bin/stern
-  '';
-
-  meta = with stdenv.lib; {
-    description = "Multi pod and container log tailing for Kubernetes";
-    homepage = "https://github.com/wercker/stern";
-  };
-}
-
diff --git a/pkgs/terraform-bin.nix b/pkgs/terraform-bin.nix
deleted file mode 100644
index a12900d6a3c2..000000000000
--- a/pkgs/terraform-bin.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-# Package to install a Terraform binary release.
-# This is necessary because the Terraform package on Nix does not currently
-# build for some reason.
-
-with import <nixpkgs> {};
-
-stdenv.mkDerivation rec {
-  name = "terraform-${version}";
-  version = "0.10.7";
-
-  src = fetchzip {
-    url = "https://releases.hashicorp.com/terraform/0.10.7/terraform_0.10.7_linux_amd64.zip";
-    sha256 = "189g94bb1d3wxzp720a5vki91czsqmk728469wa1fdkl43cdqd2n";
-  };
-
-  installPhase = ''
-    mkdir -p $out/bin
-    mv terraform $out/bin/terraform
-  '';
-
-  meta = with stdenv.lib; {
-    description = "Terraform is a tool for building, changing, and combining infrastructure safely and efficiently";
-    homepage = "https://www.terraform.io/";
-    license  = licenses.mpl20;
-  };
-}
diff --git a/pkgs/wallpapers.nix b/pkgs/wallpapers.nix
index 2f15e45113b8..3a26a54fb709 100644
--- a/pkgs/wallpapers.nix
+++ b/pkgs/wallpapers.nix
@@ -5,8 +5,9 @@ stdenv.mkDerivation {
   name    = "tazjins-wallpapers-1";
 
   src = fetchgit {
-    url = "https://git.tazj.in/tazjin/wallpapers.git";
-    rev = "3bce73b605ba5f848cb4e7cc33058a2be3952c68";
+    url    = "https://git.tazj.in/tazjin/wallpapers.git";
+    rev    = "3bce73b605ba5f848cb4e7cc33058a2be3952c68";
+    sha256 = "1gjlazag7x005sf2bd6a7dw5p9ry5vjgzmvycsyiw3pv9b1gzc0j";
   };
 
   installPhase = ''