blob: 3caba8f2cfc7bd5bc1de8ae2f51b13323b14e967 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, glib
, pkg-config
, gdk-pixbuf
, gtk3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "popsicle";
version = "1.3.1";
src = fetchFromGitHub {
owner = "pop-os";
repo = pname;
rev = version;
sha256 = "sha256-NqzuZmVabQ5WHOlBEsJhL/5Yet3TMSuo/gofSabCjTY=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
sha256 = "sha256-k2M1c9kk1blE0ZKjstDQANdbUzI4oS1Ho5P+sR4cRtg=";
};
nativeBuildInputs = [
glib
pkg-config
rustPlatform.cargoSetupHook
rustPlatform.rust.cargo
rustPlatform.rust.rustc
wrapGAppsHook
];
buildInputs = [
gdk-pixbuf
gtk3
];
makeFlags = [
"prefix=$(out)"
];
meta = with lib; {
description = "Multiple USB File Flasher";
homepage = "https://github.com/pop-os/popsicle";
changelog = "https://github.com/pop-os/popsicle/releases/tag/${version}";
maintainers = with maintainers; [ _13r0ck figsoda ];
license = licenses.mit;
platforms = platforms.linux;
};
}
|