瀏覽代碼

Add more stuff

Thomas Dy 5 年之前
父節點
當前提交
f5ea0c7d20

+ 1 - 0
.config/nixpkgs/config.nix

@@ -0,0 +1 @@
+{ allowUnfree = true; }

+ 13 - 0
.config/nixpkgs/overlays/packages/cfn_flip.nix

@@ -0,0 +1,13 @@
+{ lib, buildPythonPackage, fetchPypi
+, pyyaml, tox, six, pytestrunner, click
+}:
+buildPythonPackage rec {
+  pname = "cfn_flip";
+  version = "1.2.0";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1v31zcdlmlfldlfvp0fagphz1hlgnkylgq284s3b142gkjdg7jbx";
+  };
+  doCheck = false; # TODO: why?
+  propagatedBuildInputs = [ pyyaml tox six pytestrunner click ];
+}

+ 10 - 0
.config/nixpkgs/overlays/userPackages.nix

@@ -8,6 +8,7 @@ self: super:
     neovim = self.neovim;
     neovim-remote = self.neovim-remote;
     git = self.git;
+    git-lfs = self.git-lfs;
     feh = self.feh;
     ripgrep = self.ripgrep;
     jq = self.jq;
@@ -23,9 +24,13 @@ self: super:
     gnupg = self.gnupg;
     whois = self.whois;
     traceroute = self.traceroute;
+    gnumake = self.gnumake;
     tig = self.tig;
     gettext = self.gettext;
     unzip = self.unzip;
+    shellcheck = self.shellcheck;
+    mps-youtube = self.python36Packages.mps-youtube;
+    mpv = self.mpv;
 
     # desktop
     adapta-gtk-theme = self.adapta-gtk-theme;
@@ -62,11 +67,16 @@ self: super:
     docker-machine = self.docker-machine;
     docker-machine-kvm = self.docker-machine-kvm;
     docker-machine-kvm2 = self.docker-machine-kvm2;
+    docker_compose = self.docker_compose;
     virtmanager = self.virtmanager;
     tmux-cssh = self.tmux-cssh;
     cfn-lint = let
       pkgs = import <nixpkgs-unstable> {};
     in pkgs.python27.pkgs.callPackage ./packages/cfn-lint.nix {};
+    cfn_flip = let
+      pkgs = import <nixpkgs-unstable> {};
+    in pkgs.python27.pkgs.callPackage ./packages/cfn_flip.nix {};
+    cntr = self.cntr;
 
     nix-rebuild = super.writeScriptBin "nix-rebuild" ''
       #!${super.stdenv.shell}