mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 22:48:02 +03:00
29 lines
450 B
Nix
29 lines
450 B
Nix
{
|
|
dream2nix,
|
|
config,
|
|
lib,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
dream2nix.modules.dream2nix.mkDerivation
|
|
];
|
|
|
|
name = "hello";
|
|
version = "2.12";
|
|
|
|
deps = {nixpkgs, ...}: {
|
|
inherit
|
|
(nixpkgs)
|
|
stdenv
|
|
;
|
|
};
|
|
|
|
mkDerivation = {
|
|
src = builtins.fetchTarball {
|
|
url = "https://ftp.gnu.org/gnu/hello/hello-${config.version}.tar.gz";
|
|
sha256 = "sha256-4GQeKLIxoWfYiOraJub5RsHNVQBr2H+3bfPP22PegdU=";
|
|
};
|
|
};
|
|
}
|