mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
nimmm: build with lockfile
This commit is contained in:
parent
607c5fdb04
commit
862b906189
|
@ -1,25 +0,0 @@
|
|||
{ lib, nimPackages, fetchFromGitHub, nim, termbox, pcre }:
|
||||
|
||||
nimPackages.buildNimPackage rec {
|
||||
pname = "nimmm";
|
||||
version = "0.2.0";
|
||||
nimBinOnly = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joachimschmidt557";
|
||||
repo = "nimmm";
|
||||
rev = "v${version}";
|
||||
sha256 = "168n61avphbxsxfq8qzcnlqx6wgvz5yrjvs14g25cg3k46hj4xqg";
|
||||
};
|
||||
|
||||
buildInputs = [ termbox pcre ]
|
||||
++ (with nimPackages; [ noise nimbox lscolors ]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal file manager written in nim";
|
||||
homepage = "https://github.com/joachimschmidt557/nimmm";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.joachimschmidt557 ];
|
||||
};
|
||||
}
|
40
pkgs/by-name/ni/nimmm/lock.json
Normal file
40
pkgs/by-name/ni/nimmm/lock.json
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"depends": [
|
||||
{
|
||||
"method": "fetchzip",
|
||||
"packages": [
|
||||
"lscolors"
|
||||
],
|
||||
"path": "/nix/store/h2rqjnvjg3xihh88f2hm72506vpklilz-source",
|
||||
"ref": "v0.3.3",
|
||||
"rev": "668b46c835944254a445b9cc6dfb887e38fa13f1",
|
||||
"sha256": "0526hqh46lcfsvymb67ldsc8xbfn24vicn3b8wrqnh6mag8wynf4",
|
||||
"srcDir": "src",
|
||||
"url": "https://github.com/joachimschmidt557/nim-lscolors/archive/668b46c835944254a445b9cc6dfb887e38fa13f1.tar.gz"
|
||||
},
|
||||
{
|
||||
"method": "fetchzip",
|
||||
"packages": [
|
||||
"nimbox"
|
||||
],
|
||||
"path": "/nix/store/dyv48md5gaz0x61fxi2zc69h05a3jvfq-source",
|
||||
"ref": "master",
|
||||
"rev": "6a56e76c01481176f16ae29b7d7c526bd83f229b",
|
||||
"sha256": "15x1sdfxa1xcqnr68705jfnlv83lm0xnp2z9iz3pgc4bz5vwn4x1",
|
||||
"srcDir": "",
|
||||
"url": "https://github.com/dom96/nimbox/archive/6a56e76c01481176f16ae29b7d7c526bd83f229b.tar.gz"
|
||||
},
|
||||
{
|
||||
"method": "fetchzip",
|
||||
"packages": [
|
||||
"noise"
|
||||
],
|
||||
"path": "/nix/store/cqn9s90ivzsx7mq5k8m19565247sdsg6-source",
|
||||
"ref": "v0.1.8",
|
||||
"rev": "3cb3250ddcdaa74809aad931c066e7ef6e4af36d",
|
||||
"sha256": "0qmak5n5nrf8nb8szhlz8sf05gmbs0x648p4vcd7ca600kaxfgj0",
|
||||
"srcDir": "",
|
||||
"url": "https://github.com/jangko/nim-noise/archive/3cb3250ddcdaa74809aad931c066e7ef6e4af36d.tar.gz"
|
||||
}
|
||||
]
|
||||
}
|
25
pkgs/by-name/ni/nimmm/package.nix
Normal file
25
pkgs/by-name/ni/nimmm/package.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildNimPackage, fetchFromGitHub, termbox, pcre }:
|
||||
|
||||
buildNimPackage (finalAttrs: {
|
||||
pname = "nimmm";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joachimschmidt557";
|
||||
repo = "nimmm";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "168n61avphbxsxfq8qzcnlqx6wgvz5yrjvs14g25cg3k46hj4xqg";
|
||||
};
|
||||
|
||||
lockFile = ./lock.json;
|
||||
|
||||
buildInputs = [ termbox pcre ];
|
||||
|
||||
meta = {
|
||||
description = "Terminal file manager written in Nim";
|
||||
homepage = "https://github.com/joachimschmidt557/nimmm";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.joachimschmidt557 ];
|
||||
};
|
||||
})
|
|
@ -2974,8 +2974,6 @@ with pkgs;
|
|||
|
||||
mucommander = callPackage ../applications/file-managers/mucommander { };
|
||||
|
||||
nimmm = callPackage ../applications/file-managers/nimmm { };
|
||||
|
||||
nnn = callPackage ../applications/file-managers/nnn { };
|
||||
|
||||
noice = callPackage ../applications/file-managers/noice { };
|
||||
|
|
Loading…
Reference in a new issue