-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
41 lines (37 loc) · 1.09 KB
/
default.nix
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
# build me with
# nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"
{ stdenv
, lib
, rustPlatform
, fetchFromGitHub
, llvmPackages
, pkgconfig
, makeWrapper
# WIP, try to make the package buildable both locally and from github
#, src ? (fetchFromGitHub {
# owner = "AberDerBart";
# repo = "shop-rs";
# rev = "master";
# hash = "sha256:0000000000000000000000000000000000000000000000000000";
# })
}:
rustPlatform.buildRustPackage rec {
pname = "shop-rs";
version = "0.1.0";
#inherit src;
src = ./.;
#src = fetchFromGitHub {
# owner = "AberDerBart";
# repo = "shop-rs";
# rev = "6d536b2dca978b4003d3839e28608954edf091c4";
# hash = "sha256:0000000000000000000000000000000000000000000000000000";
#};
cargoSha256 = "sha256:0000000000000000000000000000000000000000000000000000";
meta = with lib; {
description = "A command line client for shoppinglist.";
homepage = "https://github.com/AberDerBart/shop-rs";
license = with licenses; [ mit ];
maintainers = with maintainers; [ puzzlewolf aberDerBart ];
platforms = platforms.all;
};
}