mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
699 B
Nix
34 lines
699 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
orjson,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fvs";
|
|
version = "0.3.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "FVS";
|
|
extension = "tar.gz";
|
|
hash = "sha256-yYd0HzdwbqB9kexJjBRRYmdsoWtZtcjCNRz0ZJVM5CI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ orjson ];
|
|
|
|
# no tests in src
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fvs" ];
|
|
|
|
meta = {
|
|
description = "File Versioning System with hash comparison and data storage to create unlinked states that can be deleted";
|
|
mainProgram = "fvs";
|
|
homepage = "https://github.com/mirkobrombin/FVS";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|