Remove the czkawka flake

This commit is contained in:
2026-04-06 18:10:21 +02:00
parent 939fd2bb30
commit e50f3bed5d
5 changed files with 11 additions and 195 deletions
-81
View File
@@ -1,81 +0,0 @@
{
description = "Krokiet (Czkawka Slint GUI)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
czkawka-src = {
url = "github:qarmin/czkawka";
flake = false;
};
naersk = {
url = "github:nix-community/naersk";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
czkawka-src,
naersk,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
naersk-lib = pkgs.callPackage naersk {};
nativeBuildInputs = with pkgs; [
cargo
cmake
makeWrapper
pkg-config
rustc
];
runtimeLibs = with pkgs; [
fontconfig
libglvnd
libX11
libXcursor
libXi
libxkbcommon
libXrandr
wayland
];
in {
packages.${system}.default = naersk-lib.buildPackage {
pname = "krokiet";
version = "master";
src = czkawka-src;
nativeBuildInputs = nativeBuildInputs;
buildInputs = runtimeLibs;
cargoBuildOptions = x:
x
++ [
"-p"
"krokiet"
];
buildAndCheckFeatures = [
"winit_wayland"
"winit_x11"
];
RUSTFLAGS = "-C target-cpu=native";
NIX_CFLAGS_COMPILE = "-march=native -mtune=native";
postInstall = ''
wrapProgram $out/bin/krokiet \
--prefix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath runtimeLibs}
install -Dm444 -t $out/share/applications data/io.github.qarmin.krokiet.desktop
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/io.github.qarmin.krokiet.svg \
install -Dm444 -t $out/share/metainfo data/io.github.qarmin.krokiet.metainfo.xml
'';
};
};
}
+4 -3
View File
@@ -3,7 +3,6 @@
pkgs,
lib,
clion-flake,
czkawka-master,
solaar-master,
fet,
...
@@ -52,7 +51,11 @@
bubblemail
bzip2
cisco-packet-tracer_9
#jetbrains.clion
clion-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
curl
czkawka-full
ddcutil
discord
distrobox
@@ -93,8 +96,6 @@
iftop
inkscape
iotop
#jetbrains.clion
clion-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
jq
just
killall
-2
View File
@@ -2,14 +2,12 @@
config,
pkgs,
lib,
czkawka-master,
...
}: {
environment.systemPackages = with pkgs; [
amdgpu_top
arch-install-scripts
ccache
czkawka-master.packages.${pkgs.stdenv.hostPlatform.system}.default
fahclient
lact
nvtopPackages.amd
Generated
+6 -103
View File
@@ -16,63 +16,6 @@
},
"parent": []
},
"czkawka-master": {
"inputs": {
"czkawka-src": "czkawka-src",
"naersk": "naersk",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"path": "./common/flakes/czkawka-master",
"type": "path"
},
"original": {
"path": "./common/flakes/czkawka-master",
"type": "path"
},
"parent": []
},
"czkawka-src": {
"flake": false,
"locked": {
"lastModified": 1775195057,
"narHash": "sha256-w7cPihThClX6WLlWkfhGN7Bdj3tR+1blM3hDrvX+TlU=",
"owner": "qarmin",
"repo": "czkawka",
"rev": "8aa765fc01e2e2637b5807457344c010ed249403",
"type": "github"
},
"original": {
"owner": "qarmin",
"repo": "czkawka",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": [
"czkawka-master",
"naersk",
"nixpkgs"
],
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1752475459,
"narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=",
"owner": "nix-community",
"repo": "fenix",
"rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "fenix",
"type": "github"
}
},
"fet": {
"inputs": {
"flake-utils": "flake-utils",
@@ -115,11 +58,11 @@
]
},
"locked": {
"lastModified": 1775360939,
"narHash": "sha256-XUBlSgUFdvTh6+K5LcI5mJu5F5L8scmJDMRiZM484TM=",
"lastModified": 1775457580,
"narHash": "sha256-ikws/ssAmG20AGrEwBuwspwPlkubJu34mB+Uz2fJBJs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2097a5c82bdc099c6135eae4b111b78124604554",
"rev": "5de7dbd151b0bd65d45785553d4a22d832733ffc",
"type": "github"
},
"original": {
@@ -128,28 +71,6 @@
"type": "github"
}
},
"naersk": {
"inputs": {
"fenix": "fenix",
"nixpkgs": [
"czkawka-master",
"nixpkgs"
]
},
"locked": {
"lastModified": 1769799857,
"narHash": "sha256-88IFXZ7Sa1vxbz5pty0Io5qEaMQMMUPMonLa3Ls/ss4=",
"owner": "nix-community",
"repo": "naersk",
"rev": "9d4ed44d8b8cecdceb1d6fd76e74123d90ae6339",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "naersk",
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1768656715,
@@ -167,11 +88,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1775371993,
"narHash": "sha256-shlcgEOzW6rl7zmZeYBMP9EpF3O/cTL7/HpWlyqearw=",
"lastModified": 1775456833,
"narHash": "sha256-UPTA8QB7h0hf64CQoLUXp+vNRy5CUBuVaTjr5fwK8Pg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ff2af6f7ebc6c123603d5689aeea6461290f46b5",
"rev": "e6c8eff62fae8fd177be483d62e370d6806096c7",
"type": "github"
},
"original": {
@@ -184,30 +105,12 @@
"root": {
"inputs": {
"clion-flake": "clion-flake",
"czkawka-master": "czkawka-master",
"fet": "fet",
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs"
}
},
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1752428706,
"narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "591e3b7624be97e4443ea7b5542c191311aa141d",
"type": "github"
},
"original": {
"owner": "rust-lang",
"ref": "nightly",
"repo": "rust-analyzer",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
+1 -6
View File
@@ -13,11 +13,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
czkawka-master = {
url = "path:./common/flakes/czkawka-master";
inputs.nixpkgs.follows = "nixpkgs";
};
fet = {
url = "path:./common/flakes/fet";
inputs.nixpkgs.follows = "nixpkgs";
@@ -36,7 +31,7 @@
home-manager,
...
} @ inputs: let
specialArgs = {inherit (inputs) czkawka-master fet clion-flake;};
specialArgs = {inherit (inputs) fet clion-flake;};
in {
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {