mirror of
https://github.com/NorfairKing/autodocodec.git
synced 2024-11-22 22:33:01 +03:00
20 lines
584 B
Nix
20 lines
584 B
Nix
let
|
|
sources = import ./nix/sources.nix;
|
|
|
|
versions = { };
|
|
|
|
mkReleaseForVersion = version: rev:
|
|
let
|
|
pkgsf = builtins.fetchGit {
|
|
url = "https://github.com/NixOS/nixpkgs";
|
|
inherit rev;
|
|
};
|
|
p = import ./nix/pkgs.nix { inherit sources; inherit pkgsf; };
|
|
in
|
|
p.autodocodecRelease.overrideAttrs (old: { name = "autodocodec-release-${version}"; });
|
|
in
|
|
{
|
|
release = (import ./nix/pkgs.nix { inherit sources; }).autodocodecRelease;
|
|
pre-commit-check = (import ./nix/pre-commit.nix { }).run;
|
|
} // builtins.mapAttrs mkReleaseForVersion versions
|