Skip to content

Instantly share code, notes, and snippets.

@cransom
Created December 12, 2017 18:18
Show Gist options
  • Save cransom/e23f5280b26fc6fcb5c120d873e2f22e to your computer and use it in GitHub Desktop.
Save cransom/e23f5280b26fc6fcb5c120d873e2f22e to your computer and use it in GitHub Desktop.
#overlay for gitless.
self: super:
let
inherit (super) fetchFromGitHub pythonPackages stdenv;
in
{
#{ fetchFromGitHub, pythonPackages, stdenv }:
gitless = super.pythonPackages.buildPythonApplication rec {
ver = "0.8.5";
name = "gitless-${ver}";
src = fetchFromGitHub {
owner = "sdg-mit";
repo = "gitless";
rev = "v${ver}";
sha256 = "1v22i5lardswpqb6vxjgwra3ac8652qyajbijfj18vlkhajz78hq";
};
propagatedBuildInputs = with pythonPackages; [ sh pygit2 clint ];
doCheck = false;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment