diff options
Diffstat (limited to '.config/nixpkgs/packages/stylelint/default.nix')
-rw-r--r-- | .config/nixpkgs/packages/stylelint/default.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/.config/nixpkgs/packages/stylelint/default.nix b/.config/nixpkgs/packages/stylelint/default.nix deleted file mode 100644 index 1c00b8f..0000000 --- a/.config/nixpkgs/packages/stylelint/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchgit, yarn, mkYarnPackage }: - -mkYarnPackage rec { - - pname = "stylelint"; - url = "https://github.com/stylelint/stylelint.git"; - version = "b01ed25dfa3e8231a976eef76bd5e81fb535b1e9"; - sha256 = "18v71nxxbfwqz5by9nq9921bdar3ww0z5z7h0y6rgnpi6iy5ck4x"; - rev = version; - src = fetchgit { inherit url rev sha256; }; - packageJSON = "${src}/package.json"; - yarnLock = "${yarn-lock}/yarn.lock"; - defaultYarnFlags = [ "--offline" "--frozen-lockfile" "--ignore-engines" "--ignore-scripts" ]; - - yarn-lock = stdenv.mkDerivation { - inherit src; - name = "${pname}-yarn.lock"; - buildInputs = [ yarn ]; - installPhase = '' - runHook preInstall - export HOME=. - mkdir -p $out - yarn import --ignore-engines --ignore-scripts - cp yarn.lock $out - runHook postInstall - ''; - dontBuild = true; - outputHashAlgo = "sha256"; - outputHashMode = "recursive"; - outputHash = "sha256-ER+AkEQTIDL0oE1CQEMpXdGbZtcz2KUYkP2mw3eDKHU="; - }; - - meta = with lib; { - homepage = url; - license = licenses.mit; - description = "A mighty, modern linter that helps you avoid errors and enforce conventions in your styles."; - }; -} |