mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-02 06:44:56 +03:00
29 lines
710 B
Nix
29 lines
710 B
Nix
{config, ...}: let
|
|
inherit (config.pkgs) hello;
|
|
in {
|
|
translators.dummy = {...}: {
|
|
type = "pure";
|
|
name = "dummy";
|
|
subsystem = "hello";
|
|
translate = {...}: {
|
|
result = {
|
|
_generic = {
|
|
subsystem = "hello";
|
|
defaultPackage = "hello";
|
|
location = "";
|
|
sourcesAggregatedHash = null;
|
|
packages = {${hello.pname} = hello.version;};
|
|
};
|
|
_subsystem = {};
|
|
cyclicDependencies = {};
|
|
dependencies.${hello.pname}.${hello.version} = [];
|
|
sources.${hello.pname}.${hello.version} = {
|
|
type = "http";
|
|
url = hello.src.url;
|
|
hash = hello.src.outputHash;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|