+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia Ryanswitch GLaDOS back to vanilla nixe54bccc

main
711 B27 linesraw
1{ lib, rustPlatform, fetchFromGitHub, makeWrapper, python3 }:
2rustPlatform.buildRustPackage {
3  pname = "d";
4  version = "2023-05-31";
5
6  src = fetchFromGitHub {
7    owner = "jdonszelmann";
8    repo = "d-rs";
9    rev = "985767bb220fa3a321c7e0be5897d0904ae8a951";
10    hash = "sha256-H6c3acUNOnOjcDCQ1lEvIAffUbA4eRv0M+z1SPhtKy0=";
11  };
12
13  nativeBuildInputs = [ makeWrapper ];
14  buildInputs = [ python3 ];
15
16  postInstall = ''
17    wrapProgram $out/bin/$pname \
18      --suffix PATH : ${lib.makeBinPath [ python3 ]}
19  '';
20
21  cargoHash = "sha256-cwfTomB2q9bZf1tgVnDAo/eqF43S02I2pcviMAOR0cc=";
22
23  meta = {
24    description = "Jana's data-munging multitool";
25    homepage = "https://github.com/jdonszelmann/d-rs";
26  };
27}