nixpkgs/pkgs/applications/version-management/gitless/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
797 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
2017-12-12 18:33:42 +00:00
python3.pkgs.buildPythonApplication rec {
2019-12-30 08:13:43 +00:00
pname = "gitless";
version = "0.8.8";
format = "setuptools";
2017-12-12 18:33:42 +00:00
src = fetchFromGitHub {
2022-01-09 19:00:57 +00:00
owner = "gitless-vcs";
repo = pname;
2019-12-30 08:13:43 +00:00
rev = "v${version}";
hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE=";
2017-12-12 18:33:42 +00:00
};
2022-04-28 22:05:15 +00:00
nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
propagatedBuildInputs = with python3.pkgs; [
sh
pygit2
clint
];
2022-04-28 22:05:15 +00:00
pythonRelaxDeps = [ "pygit2" ];
2017-12-12 18:33:42 +00:00
doCheck = false;
pythonImportsCheck = [
"gitless"
];
meta = with lib; {
description = "Version control system built on top of Git";
homepage = "https://gitless.com/";
license = licenses.mit;
maintainers = with maintainers; [ cransom ];
2017-12-12 18:33:42 +00:00
platforms = platforms.all;
};
}