tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sd-switch: 0.2.3 -> 0.3.0
Robert Helgesson
2 years ago
c138b605
2e363e9f
+9
-8
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
sd-switch
default.nix
+9
-8
pkgs/os-specific/linux/sd-switch/default.nix
···
1
1
-
{ lib, fetchFromGitLab, rustPlatform, pkg-config, dbus }:
1
1
+
{ lib, fetchFromSourcehut, rustPlatform, pkg-config, dbus }:
2
2
3
3
-
rustPlatform.buildRustPackage rec {
3
3
+
let version = "0.3.0";
4
4
+
in rustPlatform.buildRustPackage {
4
5
pname = "sd-switch";
5
5
-
version = "0.2.3";
6
6
+
inherit version;
6
7
7
7
-
src = fetchFromGitLab {
8
8
-
owner = "rycee";
9
9
-
repo = pname;
8
8
+
src = fetchFromSourcehut {
9
9
+
owner = "~rycee";
10
10
+
repo = "sd-switch";
10
11
rev = version;
11
11
-
sha256 = "12h2d7v7pdz7b0hrna64561kf35nbpwb2kzxa791xk8raxc2b72k";
12
12
+
hash = "sha256-mWrLbCUnoJ3hVtpSU/7dw91U5TLyw5kNchX5nmP9asA=";
12
13
};
13
14
14
14
-
cargoSha256 = "12ny3cir2nxzrmf4vwq6sgc35dbpq88hav53xqdp44rigdf4vzbs";
15
15
+
cargoHash = "sha256-VK+kPX1pGhowbWKkUs1PL0DXIhDXJOFVoIHTtWQcWEs=";
15
16
16
17
nativeBuildInputs = [ pkg-config ];
17
18
buildInputs = [ dbus ];