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 19:33:42 +01:00
python3.pkgs.buildPythonApplication rec {
2019-12-30 09:13:43 +01:00
pname = "gitless";
version = "0.8.8";
format = "setuptools";
2017-12-12 19:33:42 +01:00
src = fetchFromGitHub {
2022-01-09 20:00:57 +01:00
owner = "gitless-vcs";
repo = pname;
2019-12-30 09:13:43 +01:00
rev = "v${version}";
hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE=";
2017-12-12 19:33:42 +01:00
};
2022-04-29 00:05:15 +02:00
nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
propagatedBuildInputs = with python3.pkgs; [
sh
pygit2
clint
];
2022-04-29 00:05:15 +02:00
pythonRelaxDeps = [ "pygit2" ];
2017-12-12 19:33:42 +01: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 19:33:42 +01:00
platforms = platforms.all;
};
}