File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 modules = import ./modules ; # NixOS modules
1515 overlays = import ./overlays ; # nixpkgs overlays
1616
17+ avocado-framework = pkgs . callPackage ./pkgs/avocado-framework { } ;
1718 git-blame-someone-else = pkgs . callPackage ./pkgs/git-blame-someone-else { } ;
1819 pingfs = pkgs . callPackage ./pkgs/pingfs { } ;
1920 # yamlresume = pkgs.callPackage ./pkgs/yamlresume { };
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ python3Packages ,
4+ fetchFromGitHub ,
5+ nix-update-script ,
6+ } :
7+
8+ python3Packages . buildPythonPackage ( finalAttrs : {
9+ pname = "avocado-framework" ;
10+ version = "113.0" ;
11+ format = "setuptools" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "avocado-framework" ;
15+ repo = "avocado" ;
16+ tag = finalAttrs . version ;
17+ hash = "sha256-vfo2PIci2DPlCLEd/F3Joa5TCo85W7OMhgq6iOJ5o2w=" ;
18+ } ;
19+
20+ build-system = with python3Packages ; [
21+ setuptools
22+ ] ;
23+
24+ dependencies = with python3Packages ; [
25+ distutils
26+ ] ;
27+
28+ propagatedBuildInputs = [
29+ python3Packages . setuptools
30+ ] ;
31+
32+ dontUseMakeBuild = true ;
33+ dontUseMakeInstall = true ;
34+
35+ installPhase = ''
36+ runHook preInstall
37+ python setup.py install \
38+ --prefix=$out \
39+ --single-version-externally-managed \
40+ --root=/
41+ runHook postInstall
42+ '' ;
43+
44+ passthru . updateScript = nix-update-script { } ;
45+
46+ meta = {
47+ description = "Set of tools and libraries to help with automated testing" ;
48+ homepage = "https://avocado-framework.github.io/" ;
49+ license = lib . licenses . gpl2Plus ;
50+ maintainers = with lib . maintainers ; [ VZstless ] ;
51+ mainProgram = "avocado" ;
52+ } ;
53+ } )
You can’t perform that action at this time.
0 commit comments